|
37 | 37 | <click selector="{{AdminProductAttributeSetGridSection.deleteOptionByName('Black')}}" stepKey="deleteOption5"/>
|
38 | 38 |
|
39 | 39 | <!--Save attribute-->
|
40 |
| - <click selector="{{AdminMainActionsSection.save}}" stepKey="clickSaveColorAttribute"/> |
| 40 | + <actionGroup ref="SaveProductAttribute" stepKey="clickSaveColorAttribute"/> |
41 | 41 |
|
42 | 42 | <!--Delete Category-->
|
43 | 43 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
|
87 | 87 | <waitForElementVisible selector="{{AdminNewAttributePanelSection.isDefault('5')}}" time="30" stepKey="waitForOptionRow5"/>
|
88 | 88 | <fillField selector="{{AdminNewAttributePanelSection.optionAdminValue('4')}}" userInput="{{ColorProductAttribute5.name}}" stepKey="fillAdminLabel5"/>
|
89 | 89 | <!--Save attribute-->
|
90 |
| - <click selector="{{AdminMainActionsSection.save}}" stepKey="clickSaveAttribute"/> |
| 90 | + <actionGroup ref="SaveProductAttribute" stepKey="clickSaveAttribute"/> |
91 | 91 |
|
92 | 92 | <!--Create 'material' attribute:-->
|
93 | 93 | <amOnPage url="{{ProductAttributePage.url}}" stepKey="goToNewProductAttributePage"/>
|
|
122 | 122 | <selectOption selector="{{AttributePropertiesSection.useInLayeredNavigation}}" userInput="1" stepKey="selectUseInLayeredNavigation"/>
|
123 | 123 |
|
124 | 124 | <!--Save attribute-->
|
125 |
| - <click selector="{{AdminNewAttributePanel.saveAttribute}}" stepKey="clickSaveNewAttribute"/> |
126 |
| - <waitForPageLoad stepKey="waitForSavingNewAttribute"/> |
127 |
| - <see userInput="You saved the product attribute." stepKey="seeSuccessMessage"/> |
| 125 | + <actionGroup ref="SaveProductAttribute" stepKey="clickSaveNewAttribute"/> |
128 | 126 | <click selector="{{AdminUserGridSection.resetButton}}" stepKey="clickResetButton"/>
|
129 | 127 |
|
130 | 128 | <!--Create attribute set-->
|
|
204 | 202 | <dragAndDrop selector1="{{AdminNewAttributePanelSection.attributeName('cotton')}}" selector2="{{AdminNewAttributePanelSection.attributeName('fabric')}}" stepKey="selectMaterialsSimple"/>
|
205 | 203 |
|
206 | 204 | <!-- Save the product -->
|
207 |
| - <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveSimpleProduct"/> |
208 |
| - <see selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product." stepKey="assertSuccessSimpleProduct"/> |
| 205 | + <actionGroup ref="saveProductForm" stepKey="saveSimpleProduct"/> |
209 | 206 |
|
210 | 207 | <!--Clear caches-->
|
211 | 208 | <magentoCLI command="cache:flush" stepKey="flushCache"/>
|
|
0 commit comments