Skip to content

Commit 2cf7256

Browse files
committed
MC-215: Admin should be able to change a bundle product status to Enabled/Disabled
1 parent 7976db0 commit 2cf7256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Test/EnableDisableBundleProductStatusTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
<!--Save the product-->
6767
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButton"/>
68-
<see userInput="You saved the product." stepKey="messageYouSavedTheProductIsShown"/>
68+
<seeElement selector="{{AdminCategoryMessagesSection.SuccessMessage}}" stepKey="messageYouSavedTheProductIsShown"/>
6969

7070
<!--Testing enabled view-->
7171
<!--Product enabled by default-->
@@ -76,7 +76,7 @@
7676

7777
<!--Testing disabled view-->
7878
<actionGroup ref="FindProductToEdit" stepKey="FindProductEditPage"/>
79-
<actionGroup ref="EnableDisableProduct" stepKey="EnableProduct"/>
79+
<click stepKey="ClickOnEnableDisableToggle" selector="{{AdminProductFormBundleSection.enableDisableToggle}}"/>
8080
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButtonAgain"/>
8181
<see userInput="You saved the product." stepKey="messageYouSavedTheProductIsShownAgain"/>
8282
<waitForPageLoad stepKey="PauseForSave"/>

0 commit comments

Comments
 (0)