-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adobe-stock-integration#1813: mftf test
- Loading branch information
Viktor Kopin
committed
Sep 9, 2020
1 parent
a948194
commit 235318a
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
.../Magento/MediaGalleryUi/Test/Mftf/Test/AdminMediaGalleryDefaultViewWithoutFiltersTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="AdminMediaGalleryDefaultViewWithoutFiltersTest"> | ||
<annotations> | ||
<features value="AdminMediaGalleryDefaultViewWithoutFiltersTest"/> | ||
<useCaseId value="https://github.com/magento/adobe-stock-integration/issues/1813"/> | ||
<title value="User shouldn't see applied filters if media gallery switched to Default View"/> | ||
<description value="No filters should be applied if Default View selected"/> | ||
<severity value="CRITICAL"/> | ||
<group value="media_gallery_ui"/> | ||
</annotations> | ||
<before> | ||
<createData entity="SimpleSubCategory" stepKey="category"/> | ||
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> | ||
</before> | ||
<after> | ||
<deleteData createDataKey="category" stepKey="deleteCategory"/> | ||
</after> | ||
|
||
<!-- Open category page --> | ||
<actionGroup ref="AdminOpenCategoryGridPageActionGroup" stepKey="openCategoryPage"/> | ||
<actionGroup ref="AdminEditCategoryInGridPageActionGroup" stepKey="editCategoryItem"> | ||
<argument name="categoryName" value="$category.name$"/> | ||
</actionGroup> | ||
|
||
<!-- Open media gallery folder --> | ||
<actionGroup ref="AdminOpenMediaGalleryFromCategoryImageUploaderActionGroup" stepKey="openMediaGallery"/> | ||
<actionGroup ref="AdminEnhancedMediaGallerySelectCustomBookmarksViewActionGroup" stepKey="selectDefaultView"> | ||
<argument name="selectView" value="Default View"/> | ||
</actionGroup> | ||
|
||
<!-- Asset folder is empty --> | ||
<actionGroup ref="AdminEnhancedMediaGalleryAssertNoActiveFiltersAppliedActionGroup" stepKey="assertEmptyFolder"/> | ||
</test> | ||
</tests> |