Skip to content

Commit e2c43ca

Browse files
committed
MAGETWO-32081: MTF Alternative Web Driver pull request preparation
1 parent 421e77b commit e2c43ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dev/tests/functional/lib/Mtf/Client/Element/ConditionsElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class ConditionsElement extends SimpleElement
8484
*
8585
* @var string
8686
*/
87-
protected $created = './ul/li[1]';
87+
protected $created = './ul/li[span[contains(@class,"rule-param-new-child")]]/preceding-sibling::li[1]';
8888

8989
/**
9090
* Children condition

dev/tests/functional/tests/app/Magento/Customer/Test/Block/Form/CustomerForm.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace Magento\Customer\Test\Block\Form;
88

99
use Mtf\Block\Form;
10-
use Mtf\Client\Element;
10+
use Mtf\Client\Element\SimpleElement;
1111
use Mtf\Fixture\FixtureInterface;
1212
use Magento\Customer\Test\Fixture\CustomerInjectable;
1313

@@ -51,10 +51,10 @@ public function submit()
5151
* Fill the customer data
5252
*
5353
* @param FixtureInterface $customer
54-
* @param Element|null $element
54+
* @param SimpleElement|null $element
5555
* @return $this
5656
*/
57-
public function fill(FixtureInterface $customer, Element $element = null)
57+
public function fill(FixtureInterface $customer, SimpleElement $element = null)
5858
{
5959
/** @var CustomerInjectable $customer */
6060
if ($customer->hasData()) {

0 commit comments

Comments
 (0)