Skip to content

Commit 31ab662

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-73734' into 2.2-develop-pr68
2 parents f50677c + ecdd475 commit 31ab662

File tree

1 file changed

+8
-0
lines changed
  • dev/tests/functional/tests/app/Magento/SalesRule/Test/Block/Adminhtml/Promo/Quote/Edit

1 file changed

+8
-0
lines changed

dev/tests/functional/tests/app/Magento/SalesRule/Test/Block/Adminhtml/Promo/Quote/Edit/PromoQuoteForm.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ class PromoQuoteForm extends FormSections
2828
*/
2929
protected $waitForSelectorVisible = false;
3030

31+
/**
32+
* Selector of name element on the form.
33+
*
34+
* @var string
35+
*/
36+
private $nameElementSelector = 'input[name=name]';
37+
3138
/**
3239
* Fill form with sections.
3340
*
@@ -39,6 +46,7 @@ class PromoQuoteForm extends FormSections
3946
public function fill(FixtureInterface $fixture, SimpleElement $element = null, array $replace = null)
4047
{
4148
$this->waitForElementNotVisible($this->waitForSelector);
49+
$this->waitForElementVisible($this->nameElementSelector);
4250
$sections = $this->getFixtureFieldsByContainers($fixture);
4351
if ($replace) {
4452
$sections = $this->prepareData($sections, $replace);

0 commit comments

Comments
 (0)