Skip to content

Commit 87e7da8

Browse files
author
ysapiga
committed
MQE-2521: Create automated test for: "User sees the option to add the image into the content is not active when several images selected."
1 parent db7877a commit 87e7da8

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

AdobeStockImageAdminUi/Test/Mftf/Test/AdminAdobeStockCheckAddSelectedButtonIsNotAvailableInMassDeleteModeTest.xml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,32 @@
1111
<test name="AdminAdobeStockCheckAddSelectedButtonIsNotAvailableInMassDeleteModeTest">
1212
<annotations>
1313
<features value="AdobeStockImagePanel"/>
14-
<stories value="User sees the option to add the image into the content is not active when several images selected"/>
14+
<stories value="Add selected button is not visible in mass delete mode"/>
1515
<useCaseId value="https://github.com/magento/adobe-stock-integration/issues/461"/>
16-
<title value="Check that add selected button is not"/>
16+
<title value="User sees the option to add the image into the content is not active when several images selected"/>
1717
<description value="Check that several images can not be added in mass delete mode"/>
1818
<testCaseId value="https://studio.cucumber.io/projects/131313/test-plan/folders/1320712/scenarios/3962866"/>
1919
<severity value="MAJOR"/>
2020
<group value="adobe_stock_media_gallery"/>
2121
</annotations>
2222
<before>
2323
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
24-
<actionGroup ref="CliEnableTinyMCE4ActionGroup" stepKey="switchToTinyMCE4"/>
2524
<actionGroup ref="EnabledWYSIWYGActionGroup" stepKey="enableWYSIWYG"/>
25+
<actionGroup ref="CliEnableTinyMCE4ActionGroup" stepKey="switchToTinyMCE4"/>
2626
</before>
2727
<after>
2828
<!-- Delete images -->
29-
<actionGroup ref="AdminEnhancedMediaGalleryClickDeleteImagesButtonActionGroup" stepKey="clikDeleteSelectedButton"/>
30-
<actionGroup ref="AdminEnhancedMediaGalleryConfirmDeleteImagesActionGroup" stepKey="deleteImages"/>
31-
<actionGroup ref="AdminEnhancedMediaGalleryAssertImagesDeletedInBulkActionGroup" stepKey="assertImagesDeleted">
32-
<argument name="numberOfAssetsDeleted" value="2"/>
33-
</actionGroup>
29+
<actionGroup ref="AdminEnhancedMediaGalleryDeletedAllImagesActionGroup" stepKey="deleteAllImages"/>
3430

3531
<!-- Disable WYSIWYG -->
3632
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>
3733

38-
<!-- Logout admin -->
39-
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
34+
<!-- Logout from admin panel -->
35+
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>
4036
</after>
4137

42-
<!-- Create a CMS page containing-->
43-
<actionGroup ref="AdminOpenCreateNewCMSPageActionGroup" stepKey="openNewPage"/>
38+
<!-- Create a new CMS page -->
39+
<actionGroup ref="AdminOpenCreateNewCMSPageActionGroup" stepKey="openNewCmsPage"/>
4440
<actionGroup ref="AdminOpenMediaGalleryTinyMce4ActionGroup" stepKey="openMediaGalleryFromWysiwyg"/>
4541

4642
<!-- Clear filter-->

0 commit comments

Comments
 (0)