Skip to content

Commit d0ef0bb

Browse files
committed
MAGETWO-91436: Custom Options are corruputed when saving product to a different website
- Add some waitForPageLoad to fix flakiness
1 parent b63af73 commit d0ef0bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
<!--Create Store view -->
3737
<amOnPage url="{{AdminSystemStorePage.url}}" stepKey="amOnAdminSystemStorePage"/>
38+
<waitForPageLoad stepKey="waitForAdminSystemStorePage"/>
3839
<click selector="{{AdminStoresMainActionsSection.createStoreViewButton}}" stepKey="createStoreViewButton"/>
3940
<waitForPageLoad stepKey="waitForProductPageLoad"/>
4041
<selectOption userInput="Second Store" selector="{{AdminNewStoreSection.storeGrpDropdown}}" stepKey="selectStoreGroup"/>
@@ -58,6 +59,7 @@
5859
<actionGroup ref="EnableWebUrlOptions" stepKey="addStoreCodeToUrls"/>
5960
<!--Create a Simple Product with Custom Options -->
6061
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToCatalogProductGrid"/>
62+
<waitForPageLoad stepKey="waitForCatalogProductGrid"/>
6163
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductDropdown"/>
6264
<click selector="{{AdminProductGridActionSection.addSimpleProduct}}" stepKey="clickAddSimpleProduct"/>
6365
<fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillName"/>

0 commit comments

Comments
 (0)