Skip to content

Commit 887afb4

Browse files
committed
MAGETWO-32592: MTF Alternative Web Driver pull request preparation
1 parent b4732fe commit 887afb4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Category/Edit/Tab/Product.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Magento\Backend\Test\Block\Widget\Tab;
1010
use Mtf\Client\Element\SimpleElement;
1111
use Magento\Catalog\Test\Block\Adminhtml\Category\Tab\ProductGrid;
12-
use Mtf\Client\Element;
1312

1413
/**
1514
* Products grid of Category Products tab.
@@ -51,10 +50,10 @@ public function fillFormTab(array $fields, SimpleElement $element = null)
5150
* Get data of tab.
5251
*
5352
* @param array|null $fields
54-
* @param Element|null $element
53+
* @param SimpleElement|null $element
5554
* @return array
5655
*/
57-
public function getDataFormTab($fields = null, Element $element = null)
56+
public function getDataFormTab($fields = null, SimpleElement $element = null)
5857
{
5958
$data = $this->dataMapping($fields);
6059
$result = [];

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Edit/Tab/ProductDetails.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
namespace Magento\Catalog\Test\Block\Adminhtml\Product\Edit\Tab;
88

9-
use Mtf\Client\Element;
10-
use Mtf\Client\Element\Locator;
9+
use Mtf\Client\Element\SimpleElement;
10+
use Mtf\Client\Locator;
1111

1212
/**
1313
* Product details tab.
@@ -32,10 +32,10 @@ class ProductDetails extends \Magento\Catalog\Test\Block\Adminhtml\Product\Edit\
3232
* Fill data to fields on tab.
3333
*
3434
* @param array $fields
35-
* @param Element|null $element
35+
* @param SimpleElement|null $element
3636
* @return $this
3737
*/
38-
public function fillFormTab(array $fields, Element $element = null)
38+
public function fillFormTab(array $fields, SimpleElement $element = null)
3939
{
4040
$data = $this->dataMapping($fields);
4141

0 commit comments

Comments
 (0)