Skip to content

Commit 6f4bcfa

Browse files
committed
MC-234: Admin should be able to create category from the product page
- Add waitForPageLoad that was causing test failure
1 parent 445bb79 commit 6f4bcfa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/ActionGroup/CustomOptionsActionGroup.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222

2323
<!-- opens the custom option panel and clicks add options -->
2424
<click stepKey="openCustomizableOptions" selector="{{AdminProductCustomizableOptionsSection.customezableOptions}}"/>
25+
<waitForPageLoad stepKey="waitForCustomOptionsOpen"/>
26+
2527
<click stepKey="clickAddOptions" selector="{{AdminProductCustomizableOptionsSection.addOptionBtn}}"/>
28+
<waitForPageLoad stepKey="waitForAddProductPageLoad"/>
2629

2730
<!-- Fill in the option and select the type of radio (once) -->
2831
<fillField stepKey="fillInOptionTitle" selector="{{AdminProductCustomizableOptionsSection.lastOptionTitle}}" userInput="{{customOptionName}}"/>
@@ -42,6 +45,7 @@
4245

4346
<!-- close the custom option dropdown -->
4447
<click stepKey="closeCustomizableOptions" selector="{{AdminProductCustomizableOptionsSection.customezableOptions}}"/>
48+
<waitForPageLoad stepKey="waitForCustomOptionsClose"/>
4549

4650
</actionGroup>
4751

0 commit comments

Comments
 (0)