File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/app/Magento/Customer/Test/Block/Form Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class ConditionsElement extends SimpleElement
84
84
*
85
85
* @var string
86
86
*/
87
- protected $ created = './ul/li[1] ' ;
87
+ protected $ created = './ul/li[span[contains(@class,"rule-param-new-child")]]/preceding-sibling::li[ 1] ' ;
88
88
89
89
/**
90
90
* Children condition
Original file line number Diff line number Diff line change 7
7
namespace Magento \Customer \Test \Block \Form ;
8
8
9
9
use Mtf \Block \Form ;
10
- use Mtf \Client \Element ;
10
+ use Mtf \Client \Element \ SimpleElement ;
11
11
use Mtf \Fixture \FixtureInterface ;
12
12
use Magento \Customer \Test \Fixture \CustomerInjectable ;
13
13
@@ -51,10 +51,10 @@ public function submit()
51
51
* Fill the customer data
52
52
*
53
53
* @param FixtureInterface $customer
54
- * @param Element |null $element
54
+ * @param SimpleElement |null $element
55
55
* @return $this
56
56
*/
57
- public function fill (FixtureInterface $ customer , Element $ element = null )
57
+ public function fill (FixtureInterface $ customer , SimpleElement $ element = null )
58
58
{
59
59
/** @var CustomerInjectable $customer */
60
60
if ($ customer ->hasData ()) {
You can’t perform that action at this time.
0 commit comments