Skip to content

Commit 995d34b

Browse files
committed
Use classes and interfaces from PageObjectExtension
1 parent 45d4205 commit 995d34b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"symfony/dotenv": "^3.4|^4.1",
3535
"symfony/intl": "^3.4|^4.1",
3636
"symfony/web-profiler-bundle": "^3.4|^4.1",
37-
"symfony/web-server-bundle": "^3.4|^4.1"
37+
"symfony/web-server-bundle": "^3.4|^4.1",
38+
"friends-of-behat/page-object-extension": "^0.2.1"
3839
},
3940
"prefer-stable": true,
4041
"autoload": {

tests/Behat/Page/Shop/DynamicWelcomePage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tests\Acme\SyliusExamplePlugin\Behat\Page\Shop;
66

7-
use Sylius\Behat\Page\SymfonyPage;
7+
use FriendsOfBehat\PageObjectExtension\Page\SymfonyPage;
88

99
class DynamicWelcomePage extends SymfonyPage implements WelcomePageInterface
1010
{

tests/Behat/Page/Shop/StaticWelcomePage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tests\Acme\SyliusExamplePlugin\Behat\Page\Shop;
66

7-
use Sylius\Behat\Page\SymfonyPage;
7+
use FriendsOfBehat\PageObjectExtension\Page\SymfonyPage;
88

99
class StaticWelcomePage extends SymfonyPage implements WelcomePageInterface
1010
{

tests/Behat/Page/Shop/WelcomePageInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tests\Acme\SyliusExamplePlugin\Behat\Page\Shop;
66

7-
use Sylius\Behat\Page\PageInterface;
7+
use FriendsOfBehat\PageObjectExtension\Page\PageInterface;
88

99
interface WelcomePageInterface extends PageInterface
1010
{

0 commit comments

Comments
 (0)