File tree Expand file tree Collapse file tree 3 files changed +8
-13
lines changed Expand file tree Collapse file tree 3 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 3333 </createData >
3434 </before >
3535 <after >
36- <deleteData createDataKey =" createProductA" stepKey =" deleteProductA" />
37- <deleteData createDataKey =" createProductB" stepKey =" deleteProductB" />
38- <deleteData createDataKey =" createProductC" stepKey =" deleteProductC" />
39- <deleteData createDataKey =" createProductD" stepKey =" deleteProductD" />
40- <deleteData createDataKey =" createProductE" stepKey =" deleteProductE" />
36+ <!-- Delete all products via API -->
37+ <helper class =" Magento\Catalog\Test\Mftf\Helper\ProductApiHelper" method =" deleteAllProductsApi" stepKey =" deleteAllProductsViaApi" />
4138 <deleteData createDataKey =" createCategoryA" stepKey =" deleteCategoryA" />
4239 </after >
4340
Original file line number Diff line number Diff line change 2626 <helper class =" Magento\Catalog\Test\Mftf\Helper\ProductApiHelper" method =" deleteAllProductsApi" stepKey =" deleteAllProductsViaApi" />
2727 <actionGroup ref =" AdminOpenProductIndexPageActionGroup" stepKey =" goToProductList" />
2828 <actionGroup ref =" AdminClearGridFiltersActionGroup" stepKey =" resetProductFilters" />
29+ <!-- Clean up categories-->
30+ <actionGroup ref =" DeleteCategoryActionGroup" stepKey =" cleanSimpleSubCategory" >
31+ <argument name =" categoryEntity" value =" SimpleSubCategory" />
32+ </actionGroup >
2933 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutOfAdmin" />
3034 <magentoCLI command =" config:set checkout/options/enable_guest_checkout_login 0" stepKey =" DisablingGuestCheckoutLogin" />
3135 </after >
253257 </actionGroup >
254258
255259 <!-- @TODO Move cleanup to "after" when MQE-830 is resolved-->
256- <!-- Clean up categories-->
257- <comment userInput =" Clean up categories" stepKey =" cleanupCategoriesComment" />
258- <actionGroup ref =" DeleteCategoryActionGroup" stepKey =" cleanSimpleSubCategory" >
259- <argument name =" categoryEntity" value =" SimpleSubCategory" />
260- </actionGroup >
261260 <!-- Clean up products-->
262261 <comment userInput =" Clean up simple product" stepKey =" cleanUpSimpleProduct" />
263262 <actionGroup ref =" DeleteProductUsingProductGridActionGroup" stepKey =" deleteSimpleProduct" >
Original file line number Diff line number Diff line change 4343 <argument name =" customerEmail" value =" CustomerEntityOne.email" />
4444 </actionGroup >
4545 <!-- delete Category and Products -->
46- <deleteData createDataKey =" createProduct1" stepKey =" deleteProduct1" />
47- <deleteData createDataKey =" createProduct2" stepKey =" deleteProduct2" />
46+ <helper class =" Magento\Catalog\Test\Mftf\Helper\ProductApiHelper" method =" deleteAllProductsApi" stepKey =" deleteAllProductsViaApi" />
4847 <deleteData createDataKey =" category" stepKey =" deleteCategory" />
4948 <!-- Logout -->
5049 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
5150 <!-- Disable single store view back -->
5251 <magentoCLI command =" config:set general/single_store_mode/enabled 0" stepKey =" enabledSingleStoreMode" />
5352 </after >
54-
53+
5554 <!-- Go to frontend and make a user account and login with it -->
5655 <actionGroup ref =" SignUpNewUserFromStorefrontActionGroup" stepKey =" signUpNewUser" >
5756 <argument name =" Customer" value =" CustomerEntityOne" />
You can’t perform that action at this time.
0 commit comments