File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
app/code/Magento/Catalog/Test/Mftf Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 88
99<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11- <actionGroup name =" VerifySuccessMessagesWithoutNotificationActionGroup " >
11+ <actionGroup name =" VerifySuccessMessagesWithoutWarningActionGroup " >
1212 <annotations >
1313 <description >Verify the success messages without notification post product save and see the product image is deleted.</description >
1414 </annotations >
1515
16- <arguments >
17- <argument name =" image" defaultValue =" ProductImage" />
18- </arguments >
1916 <waitForPageLoad stepKey =" waitForProductPageLoad1" />
2017 <!-- Verify notification and success messages-->
2118 <see selector =" {{StorefrontMessagesSection.success}}" userInput =" {{ProductFormMessages.save_success}}" stepKey =" seeSuccessMessage" />
2219 <dontSee selector =" {{StorefrontMessagesSection.noticeMessage}}" userInput =" {{ProductFormMessages.remove_image_notice}}" stepKey =" seeNotification" />
23- <!-- Reopen image tab and see the image is deleted-->
24- <conditionalClick selector =" {{AdminProductImagesSection.productImagesToggle}}" dependentSelector =" {{AdminProductImagesSection.imageUploadButton}}" visible =" false" stepKey =" openProductImagesTab" />
25- <waitForPageLoad stepKey =" waitForImagesLoad" />
26- <dontSeeElement selector =" {{AdminProductImagesSection.imageFile(image.fileName)}}" stepKey =" seeImageIsNotDeleted" />
2720 </actionGroup >
2821</actionGroups >
Original file line number Diff line number Diff line change 5555 </actionGroup >
5656 <actionGroup ref =" SaveProductFormActionGroup" stepKey =" saveProduct5" />
5757 <!-- Verify the success messages without notification-->
58- <actionGroup ref =" VerifySuccessMessagesWithoutNotificationActionGroup" stepKey =" verifySuccessMessages" >
58+ <actionGroup ref =" VerifySuccessMessagesWithoutWarningActionGroup" stepKey =" verifySuccessMessages" />
59+ <!-- Assert product first image not in admin product form -->
60+ <actionGroup ref =" AssertProductImageNotInAdminProductPageActionGroup" stepKey =" assertProductImageNotInAdminProductPage" >
5961 <argument name =" image" value =" ProductImage" />
6062 </actionGroup >
6163 </test >
You can’t perform that action at this time.
0 commit comments