File tree Expand file tree Collapse file tree 8 files changed +16
-16
lines changed
app/code/Magento/Catalog/Test/Mftf
AdminMassUpdateProductAttributesStoreViewScopeTest
AdminMassUpdateProductStatusStoreViewScopeTest Expand file tree Collapse file tree 8 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 24
24
<selectOption selector =" {{AdminProductGridFilterSection.typeFilter}}" userInput =" {{product.type_id}}" stepKey =" selectionProductType" />
25
25
<click selector =" {{AdminProductGridFilterSection.applyFilters}}" stepKey =" clickApplyFilters" />
26
26
<!-- Select first product from grid and open mass action-->
27
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox" />
27
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox" />
28
28
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdown" />
29
29
<click selector =" {{AdminProductGridSection.bulkActionOption('Update attributes')}}" stepKey =" clickOption" />
30
30
<waitForPageLoad stepKey =" waitForUploadPage" />
Original file line number Diff line number Diff line change 13
13
<arguments >
14
14
<argument name =" product" />
15
15
</arguments >
16
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox" />
16
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox" />
17
17
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdown" />
18
18
<click selector =" {{AdminProductGridSection.bulkActionOption('Update attributes')}}" stepKey =" clickOption" />
19
19
<waitForPageLoad stepKey =" waitForUploadPage" />
Original file line number Diff line number Diff line change 44
44
<argument name =" keyword" value =" api-simple-product" />
45
45
</actionGroup >
46
46
<actionGroup ref =" SortProductsByIdDescendingActionGroup" stepKey =" sortProductsByIdDescending" />
47
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
48
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
47
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
48
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
49
49
<!-- Mass change status -->
50
50
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdown" />
51
51
<click selector =" {{AdminProductGridSection.bulkActionOption('Change status')}}" stepKey =" clickChangeStatus" />
Original file line number Diff line number Diff line change 39
39
<argument name =" keyword" value =" api-simple-product" />
40
40
</actionGroup >
41
41
<actionGroup ref =" SortProductsByIdDescendingActionGroup" stepKey =" sortProductsByIdDescending" />
42
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" selectThirdProduct" />
43
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" selectSecondProduct" />
44
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('3')}}" stepKey =" selectFirstProduct" />
42
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" selectThirdProduct" />
43
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" selectSecondProduct" />
44
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('3')}}" stepKey =" selectFirstProduct" />
45
45
<actionGroup ref =" AdminClickMassUpdateProductAttributesActionGroup" stepKey =" goToUpdateProductAttributesPage" />
46
46
<checkOption selector =" {{AdminEditProductAttributesSection.changeAttributeShortDescriptionToggle}}" stepKey =" toggleToChangeShortDescription" />
47
47
<fillField selector =" {{AdminEditProductAttributesSection.attributeShortDescription}}" userInput =" Test Update" stepKey =" fillShortDescriptionField" />
Original file line number Diff line number Diff line change 55
55
<argument name =" keyword" value =" api-simple-product" />
56
56
</actionGroup >
57
57
<actionGroup ref =" SortProductsByIdDescendingActionGroup" stepKey =" sortProductsByIdDescending" />
58
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
59
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
58
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
59
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
60
60
<!-- Mass update qty increments -->
61
61
<actionGroup ref =" AdminClickMassUpdateProductAttributesActionGroup" stepKey =" clickMassUpdateProductAttributes" />
62
62
<actionGroup ref =" AdminMassUpdateProductAttributeActionGroup" stepKey =" updateAttribute" >
Original file line number Diff line number Diff line change 50
50
<argument name =" keyword" value =" api-simple-product" />
51
51
</actionGroup >
52
52
<actionGroup ref =" SortProductsByIdDescendingActionGroup" stepKey =" sortProductsByIdDescending" />
53
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
54
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
53
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
54
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
55
55
<!-- Mass update attributes -->
56
56
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdown" />
57
57
<click selector =" {{AdminProductGridSection.bulkActionOption('Update attributes')}}" stepKey =" clickOption" />
Original file line number Diff line number Diff line change 43
43
<argument name =" keyword" value =" api-simple-product" />
44
44
</actionGroup >
45
45
<actionGroup ref =" SortProductsByIdDescendingActionGroup" stepKey =" sortProductsByIdDescending" />
46
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
47
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
46
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckbox1" />
47
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
48
48
<!-- Mass update attributes -->
49
49
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdown" />
50
50
<click selector =" {{AdminProductGridSection.bulkActionOption('Update attributes')}}" stepKey =" clickOption" />
Original file line number Diff line number Diff line change 81
81
</actionGroup >
82
82
83
83
<!-- Select Product 2 -->
84
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
84
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckbox2" />
85
85
86
86
<!-- Mass update attributes -->
87
87
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdown" />
122
122
123
123
<!-- Enable the product in Default store view-->
124
124
<actionGroup ref =" AdminOpenProductIndexPageActionGroup" stepKey =" navigateToProductIndex2" />
125
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckboxDefaultStoreView" />
126
- <click selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckboxDefaultStoreView2" />
125
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey =" clickCheckboxDefaultStoreView" />
126
+ <checkOption selector =" {{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey =" clickCheckboxDefaultStoreView2" />
127
127
128
128
<!-- Mass update attributes -->
129
129
<click selector =" {{AdminProductGridSection.bulkActionDropdown}}" stepKey =" clickDropdownDefaultStoreView" />
You can’t perform that action at this time.
0 commit comments