Skip to content

Commit 9d57c4a

Browse files
committed
MAGETWO-59702: [FT] Magento\Customer\Test\TestCase\RegisterCustomerFrontendEntityTest fails randomly on CI
- Change loader;
1 parent 8f9ea74 commit 9d57c4a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dev/tests/functional/tests/app/Magento/Customer/Test/TestCase/RegisterCustomerFrontendEntityTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<data name="customer/data/is_subscribed" xsi:type="string">No</data>
1515
<data name="customer/data/password" xsi:type="string">123123^q</data>
1616
<data name="customer/data/password_confirmation" xsi:type="string">123123^q</data>
17+
<data name="tag" xsi:type="string">test_type:acceptance_test</data>
1718
<constraint name="Magento\Customer\Test\Constraint\AssertCustomerSuccessRegisterMessage" />
1819
<constraint name="Magento\Customer\Test\Constraint\AssertCustomerInGrid" />
1920
<constraint name="Magento\Customer\Test\Constraint\AssertCustomerLogout" />
@@ -25,6 +26,7 @@
2526
<data name="customer/data/is_subscribed" xsi:type="string">Yes</data>
2627
<data name="customer/data/password" xsi:type="string">123123^q</data>
2728
<data name="customer/data/password_confirmation" xsi:type="string">123123^q</data>
29+
<data name="tag" xsi:type="string">test_type:acceptance_test</data>
2830
<constraint name="Magento\Customer\Test\Constraint\AssertCustomerSuccessRegisterMessage" />
2931
<constraint name="Magento\Customer\Test\Constraint\AssertCustomerInGrid" />
3032
<constraint name="Magento\Customer\Test\Constraint\AssertCustomerForm" />

dev/tests/functional/tests/app/Magento/Ui/Test/Block/Adminhtml/DataGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function resetFilter()
165165
*/
166166
protected function waitFilterToLoad()
167167
{
168-
$this->getTemplateBlock()->waitForElementNotVisible($this->loader);
168+
$this->getTemplateBlock()->waitLoader();
169169
$browser = $this->_rootElement;
170170
$selector = $this->filterButton . ', ' . $this->resetButton;
171171
$browser->waitUntil(

0 commit comments

Comments
 (0)