File tree Expand file tree Collapse file tree 3 files changed +23
-12
lines changed
Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 6868 <actionGroup ref =" FilterProductGridByNameActionGroup" stepKey =" filterBundleProductOptionsDownToName" >
6969 <argument name =" product" value =" BundleProduct" />
7070 </actionGroup >
71- <click selector =" {{AdminProductFiltersSection.allCheckbox}}" stepKey =" SelectAllOnly1" />
72- <waitForPageLoad stepKey =" loading2" />
7371
7472 <!-- Delete-->
75- <click selector =" {{AdminProductFiltersSection.actions}}" stepKey =" ClickOnActionsChangingView" />
76- <click selector =" {{AdminProductFiltersSection.delete}}" stepKey =" ClickDelete" />
77- <click selector =" //button[@class='action-primary action-accept']" stepKey =" ConfirmDelete" />
78- <waitForPageLoad stepKey =" loading3" />
73+ <actionGroup ref =" AdminDeleteAllProductsFromGridActionGroup" stepKey =" selectAndDeleteProducts" />
7974
8075 <!-- Locating delete message-->
8176 <seeElement selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" stepKey =" deleteMessage" />
Original file line number Diff line number Diff line change 118118 <actionGroup ref =" BundleProductFilter" stepKey =" FilterForOnlyBundleProducts" />
119119
120120 <!-- Delete-->
121- <click selector =" {{AdminProductFiltersSection.allCheckbox}}" stepKey =" SelectAllOnly1" />
122- <waitForPageLoad stepKey =" loading" />
123- <click selector =" {{AdminProductFiltersSection.actions}}" stepKey =" ClickOnActionsChangingView" />
124- <click selector =" {{AdminProductFiltersSection.delete}}" stepKey =" ClickDelete" />
125- <click selector =" //button[@class='action-primary action-accept']" stepKey =" ConfirmDelete" />
126- <waitForPageLoad stepKey =" loading3" />
121+ <actionGroup ref =" AdminDeleteAllProductsFromGridActionGroup" stepKey =" selectAndDeleteProducts" />
127122
128123 <!-- Locating delete message-->
129124 <seeElement selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" stepKey =" deleteMessage" />
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+ /**
4+ * Copyright © Magento, Inc. All rights reserved.
5+ * See COPYING.txt for license details.
6+ */
7+ -->
8+
9+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11+ <actionGroup name =" AdminDeleteAllProductsFromGridActionGroup" >
12+ <annotations >
13+ <description >Select and delete products in product grid.</description >
14+ </annotations >
15+ <click selector =" {{AdminProductFiltersSection.allCheckbox}}" stepKey =" selectAllProducts" />
16+ <click selector =" {{AdminProductFiltersSection.actions}}" stepKey =" clickOnActionsChangingView" />
17+ <click selector =" {{AdminProductFiltersSection.delete}}" stepKey =" clickDelete" />
18+ <click selector =" //button[@class='action-primary action-accept']" stepKey =" confirmDelete" />
19+ <waitForPageLoad stepKey =" waitingProductGridLoad" />
20+ </actionGroup >
21+ </actionGroups >
You can’t perform that action at this time.
0 commit comments