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 8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <actionGroup name =" VerifySuccessMessagesWithoutNotificationActionGroup " >
11
+ <actionGroup name =" VerifySuccessMessagesWithoutWarningActionGroup " >
12
12
<annotations >
13
13
<description >Verify the success messages without notification post product save and see the product image is deleted.</description >
14
14
</annotations >
15
15
16
- <arguments >
17
- <argument name =" image" defaultValue =" ProductImage" />
18
- </arguments >
19
16
<waitForPageLoad stepKey =" waitForProductPageLoad1" />
20
17
<!-- Verify notification and success messages-->
21
18
<see selector =" {{StorefrontMessagesSection.success}}" userInput =" {{ProductFormMessages.save_success}}" stepKey =" seeSuccessMessage" />
22
19
<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" />
27
20
</actionGroup >
28
21
</actionGroups >
Original file line number Diff line number Diff line change 55
55
</actionGroup >
56
56
<actionGroup ref =" SaveProductFormActionGroup" stepKey =" saveProduct5" />
57
57
<!-- 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" >
59
61
<argument name =" image" value =" ProductImage" />
60
62
</actionGroup >
61
63
</test >
You can’t perform that action at this time.
0 commit comments