File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
dev/tests/functional/tests/app/Magento/SalesRule/Test/Block/Adminhtml/Promo/Quote/Edit Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ class PromoQuoteForm extends FormSections
28
28
*/
29
29
protected $ waitForSelectorVisible = false ;
30
30
31
+ /**
32
+ * Selector of name element on the form.
33
+ *
34
+ * @var string
35
+ */
36
+ private $ nameElementSelector = 'input[name=name] ' ;
37
+
31
38
/**
32
39
* Fill form with sections.
33
40
*
@@ -39,6 +46,7 @@ class PromoQuoteForm extends FormSections
39
46
public function fill (FixtureInterface $ fixture , SimpleElement $ element = null , array $ replace = null )
40
47
{
41
48
$ this ->waitForElementNotVisible ($ this ->waitForSelector );
49
+ $ this ->waitForElementVisible ($ this ->nameElementSelector );
42
50
$ sections = $ this ->getFixtureFieldsByContainers ($ fixture );
43
51
if ($ replace ) {
44
52
$ sections = $ this ->prepareData ($ sections , $ replace );
You can’t perform that action at this time.
0 commit comments