|
36 | 36 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
37 | 37 | </after>
|
38 | 38 |
|
39 |
| - <!-- Search and select products --> |
40 | 39 | <actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndex"/>
|
41 | 40 | <actionGroup ref="SearchProductGridByKeyword2ActionGroup" stepKey="searchByKeyword">
|
42 | 41 | <argument name="keyword" value="api-simple-product"/>
|
43 | 42 | </actionGroup>
|
44 |
| - <click selector="{{AdminProductGridSection.productGridCheckboxOnRow('1')}}" stepKey="clickCheckbox1"/> |
45 |
| - <click selector="{{AdminProductGridSection.productGridCheckboxOnRow('2')}}" stepKey="clickCheckbox2"/> |
46 |
| - <!-- Mass update attributes --> |
47 |
| - <click selector="{{AdminProductGridSection.bulkActionDropdown}}" stepKey="clickDropdown"/> |
48 |
| - <click selector="{{AdminProductGridSection.bulkActionOption('Update attributes')}}" stepKey="clickOption"/> |
49 |
| - <waitForPageLoad stepKey="waitForBulkUpdatePage"/> |
50 |
| - <seeInCurrentUrl stepKey="seeInUrl" url="catalog/product_action_attribute/edit/"/> |
51 |
| - <click selector="{{AdminEditProductAttributesSection.ChangeAttributeNameToggle}}" stepKey="toggleToChangeName"/> |
52 |
| - <click selector="{{AdminEditProductAttributesSection.Save}}" stepKey="save"/> |
| 43 | + |
| 44 | + <actionGroup ref="AdminCheckProductOnProductGridActionGroup" stepKey="clickCheckbox1"> |
| 45 | + <argument name="product" value="$$createProductOne$$"/> |
| 46 | + </actionGroup> |
| 47 | + |
| 48 | + <actionGroup ref="AdminCheckProductOnProductGridActionGroup" stepKey="clickCheckbox2"> |
| 49 | + <argument name="product" value="$$createProductTwo$$"/> |
| 50 | + </actionGroup> |
| 51 | + |
| 52 | + <actionGroup ref="AdminClickMassUpdateProductAttributesActionGroup" stepKey="clickDropdown"/> |
| 53 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickOption"/> |
| 54 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForBulkUpdatePage"/> |
| 55 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeInUrl"/> |
| 56 | + |
| 57 | + <actionGroup ref="AdminCheckNameToggleOnProductsMassAttributesUpdateActionGroup" stepKey="toggleToChangeName"/> |
| 58 | + |
| 59 | + <actionGroup ref="AdminClickSaveOnProductsMassAttributesUpdateActionGroup" stepKey="save"/> |
53 | 60 | <see stepKey="seeError" selector="{{AdminEditProductAttributesSection.NameError}}" userInput="This is a required field"/>
|
54 | 61 | </test>
|
55 | 62 | </tests>
|
0 commit comments