|
11 | 11 | <test name="DeleteCategoriesTest">
|
12 | 12 | <annotations>
|
13 | 13 | <features value="Delete categories"/>
|
14 |
| - <stories value="Delete categories"/> |
15 | 14 | <title value="Delete categories."/>
|
16 |
| - <description value="Delete categories."/> |
| 15 | + <description value="Delete Default Root Category and subcategories and vefify after products on storefront."/> |
17 | 16 | <severity value="CRITICAL"/>
|
18 | 17 | <testCaseId value="MAGETWO-46344"/>
|
19 | 18 | <group value="testNotIsolated"/>
|
|
37 | 36 | </before>
|
38 | 37 | <after>
|
39 | 38 | <amOnPage url="admin/admin/auth/logout/" stepKey="amOnLogoutPage"/>
|
| 39 | + <deleteData createDataKey="createProduct1" stepKey="deleteProduct1"/> |
| 40 | + <deleteData createDataKey="createProduct2" stepKey="deleteProduct2"/> |
| 41 | + <deleteData createDataKey="createProduct3" stepKey="deleteProduct3"/> |
40 | 42 | </after>
|
41 | 43 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
|
42 | 44 | <amOnPage url="{{AdminCategoryPage.url}}" stepKey="navigateToCategoryPage1"/>
|
43 | 45 | <waitForPageLoad time="30" stepKey="waitForPageCategoryLoadAfterNavigate"/>
|
44 | 46 | <click selector="{{AdminCategorySidebarTreeSection.categoryInTree($$createNewRootCategoryA.name$$)}}" stepKey="openNewRootCategory"/>
|
45 | 47 | <waitForPageLoad stepKey="waitForPageCategoryLoadAfterClickOnNewRootCategory"/>
|
46 | 48 | <seeElement selector="{{AdminCategoryMainActionsSection.DeleteButton}}" stepKey="assertDeleteButtonIsPresent"/>
|
47 |
| - <!--Move categories from Default Category to NewRootCategory. --> |
| 49 | + <!--Move categories from Default Category to NewRootCategory. --> |
48 | 50 | <actionGroup ref="MoveCategoryActionGroup" stepKey="MoveCategoryBToNewRootCategory">
|
49 | 51 | <argument name="childCategory" value="$$createCategoryC.name$$"/>
|
50 | 52 | <argument name="parentCategory" value="$$createNewRootCategoryA.name$$"/>
|
|
71 | 73 | <waitForElementVisible selector="{{AdminStoresGridSection.storeFilterTextField}}" stepKey="waitForPageAdminStoresGridReload"/>
|
72 | 74 | <see userInput="You saved the store." stepKey="seeSavedMessage"/>
|
73 | 75 |
|
74 |
| - <!--<!– @TODO: Uncomment commented below code after MQE-903 is fixed –>--> |
| 76 | + <!-- @TODO: Uncomment commented below code after MQE-903 is fixed --> |
75 | 77 | <!-- Perform cli reindex. -->
|
76 | 78 | <!--<magentoCLI command="indexer:reindex" stepKey="magentoCli"/>-->
|
77 | 79 |
|
|
89 | 91 | <amOnPage url="{{StorefrontHomePage.url}}" stepKey="amOnHomePage"/>
|
90 | 92 | <waitForPageLoad stepKey="homeWaitForPageLoad"/>
|
91 | 93 |
|
92 |
| - <!--<!– @TODO: Uncomment commented below code after MQE-903 is fixed –>--> |
| 94 | + <!-- @TODO: Uncomment commented below code after MQE-903 is fixed --> |
93 | 95 | <!--<click selector="{{StorefrontHeaderSection.NavigationCategoryByName($$createCategoryC.name$$)}}" stepKey="browseClickCategoryC"/>-->
|
94 | 96 | <!--<actionGroup ref="StorefrontCheckCategoryActionGroup" stepKey="browseAssertCategoryC">-->
|
95 | 97 | <!--<argument name="category" value="$$createCategoryC$$"/>-->
|
|
110 | 112 | <argument name="product" value="$$createProduct2$$"/>
|
111 | 113 | </actionGroup>
|
112 | 114 |
|
113 |
| - <!--<!– @TODO: Uncomment commented below code after MQE-903 is fixed –>--> |
| 115 | + <!-- @TODO: Uncomment commented below code after MQE-903 is fixed --> |
114 | 116 | <!--<actionGroup ref="StorefrontCheckCategoryActionGroup" stepKey="browseAssertCategoryB">-->
|
115 | 117 | <!--<argument name="category" value="$$createCategoryB$$"/>-->
|
116 | 118 | <!--<argument name="productCount" value="1"/>-->
|
|
0 commit comments