Skip to content

Commit a9916e6

Browse files
committed
MAGETWO-32079: Alternative WebDriver support
1 parent 8b47e7a commit a9916e6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dev/tests/functional/tests/app/Magento/Install/Test/Constraint/AssertRewritesEnabled.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use Magento\Cms\Test\Page\CmsIndex;
99
use Mtf\Constraint\AbstractConstraint;
10-
use Mtf\Client\Driver\Selenium\Browser;
10+
use Mtf\Client\BrowserInterface;
1111
use Magento\Catalog\Test\Fixture\CatalogCategory;
1212

1313
/**
@@ -24,9 +24,9 @@ class AssertRewritesEnabled extends AbstractConstraint
2424
*
2525
* @param CatalogCategory $category
2626
* @param CmsIndex $homePage
27-
* @param Browser $browser
27+
* @param BrowserInterface $browser
2828
*/
29-
public function processAssert(CatalogCategory $category, CmsIndex $homePage, Browser $browser)
29+
public function processAssert(CatalogCategory $category, CmsIndex $homePage, BrowserInterface $browser)
3030
{
3131
$category->persist();
3232
$homePage->open();

dev/tests/functional/tests/app/Magento/Install/Test/Constraint/AssertSecureUrlEnabled.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace Magento\Install\Test\Constraint;
77

8-
use Mtf\Client\Browser;
8+
use Mtf\Client\BrowserInterface;
99
use Mtf\Constraint\AbstractConstraint;
1010
use Magento\Backend\Test\Page\Adminhtml\Dashboard;
1111
use Magento\Customer\Test\Page\CustomerAccountLogin;
@@ -22,13 +22,13 @@ class AssertSecureUrlEnabled extends AbstractConstraint
2222
/**
2323
* Assert that Secure Urls Enabled.
2424
*
25-
* @param Browser $browser
25+
* @param BrowserInterface $browser
2626
* @param Dashboard $dashboard
2727
* @param CustomerAccountLogin $customerAccountLogin
2828
* @return void
2929
*/
3030
public function processAssert(
31-
Browser $browser,
31+
BrowserInterface $browser,
3232
Dashboard $dashboard,
3333
CustomerAccountLogin $customerAccountLogin
3434
) {

0 commit comments

Comments
 (0)