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 68
68
<actionGroup ref =" FilterProductGridByNameActionGroup" stepKey =" filterBundleProductOptionsDownToName" >
69
69
<argument name =" product" value =" BundleProduct" />
70
70
</actionGroup >
71
- <click selector =" {{AdminProductFiltersSection.allCheckbox}}" stepKey =" SelectAllOnly1" />
72
- <waitForPageLoad stepKey =" loading2" />
73
71
74
72
<!-- 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" />
79
74
80
75
<!-- Locating delete message-->
81
76
<seeElement selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" stepKey =" deleteMessage" />
Original file line number Diff line number Diff line change 118
118
<actionGroup ref =" BundleProductFilter" stepKey =" FilterForOnlyBundleProducts" />
119
119
120
120
<!-- 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" />
127
122
128
123
<!-- Locating delete message-->
129
124
<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