Skip to content

Commit 4e6c308

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-93676' into 2.2-develop-pr39
2 parents 1e6a4c7 + 58dbcae commit 4e6c308

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminMultipleWebsitesUseDefaultValuesTest.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@
4040

4141
<!--Create a Simple Product -->
4242
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToCatalogProductGrid"/>
43-
<waitForPageLoad time="30" stepKey="waitForProductsGridPageLoad"/>
43+
<waitForPageLoad stepKey="waitForProductsGridPageLoad"/>
4444
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductDropdown"/>
4545
<click selector="{{AdminProductGridActionSection.addSimpleProduct}}" stepKey="clickAddSimpleProduct"/>
46-
<!-- Need to wait because fields are loaded a little bit later then it starts to fill them -->
47-
<waitForElementVisible selector="{{AdminProductFormSection.productName}}" stepKey="waitForNameFieldVisible"/>
46+
<waitForPageLoad stepKey="waitForPageProductFormLoad"/>
4847
<fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillProductName"/>
4948
<fillField userInput="{{_defaultProduct.sku}}" selector="{{AdminProductFormSection.productSku}}" stepKey="fillProductSKU"/>
5049
<fillField userInput="{{_defaultProduct.price}}" selector="{{AdminProductFormSection.productPrice}}" stepKey="fillProductPrice"/>
@@ -54,7 +53,7 @@
5453
<click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="openProductInWebsites"/>
5554
<click selector="{{ProductInWebsitesSection.website('Second Website')}}" stepKey="selectSecondWebsite"/>
5655
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSave"/>
57-
<waitForLoadingMaskToDisappear stepKey="waitForProductPageSave"/>
56+
<waitForPageLoad stepKey="waitForProductSave"/>
5857
<seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="seeSaveProductMessage"/>
5958

6059
<!-- switch to the second store view -->

0 commit comments

Comments
 (0)