|
26 | 26 | </after>
|
27 | 27 |
|
28 | 28 | <!--Navigate to Stores > Attributes > Product.-->
|
29 |
| - <amOnPage url="{{AdminProductAttributeGridPage.url}}" stepKey="goToProductAttributesGrid"/> |
| 29 | + <!--<amOnPage url="{{AdminProductAttributeGridPage.url}}" stepKey="goToProductAttributesGrid"/>--> |
| 30 | + <actionGroup ref="AdminOpenProductAttributePageActionGroup" stepKey="goToProductAttributesGrid"/> |
30 | 31 |
|
31 | 32 | <!--Create new Product Attribute as TextField, with type_id code.-->
|
32 | 33 | <actionGroup ref="CreateProductAttributeActionGroup" stepKey="createAttribute">
|
33 | 34 | <argument name="attribute" value="ProductTypeIdAttribute"/>
|
34 | 35 | </actionGroup>
|
35 |
| - <see stepKey="seeErrorMessage" selector="{{AdminMessagesSection.errorMessage}}" userInput="Code (type_id) is a reserved key and cannot be used as attribute code."/> |
| 36 | + <actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="seeErrorMessage"> |
| 37 | + <argument name="messageType" value="error"/> |
| 38 | + <argument name="message" value="Code (type_id) is a reserved key and cannot be used as attribute code."/> |
| 39 | + </actionGroup> |
36 | 40 |
|
37 | 41 | <!--Navigate to Stores > Attributes > Product.-->
|
38 |
| - <amOnPage url="{{AdminProductAttributeGridPage.url}}" stepKey="backToProductAttributesGrid"/> |
| 42 | + <actionGroup ref="AdminOpenProductAttributePageActionGroup" stepKey="backToProductAttributesGrid"/> |
39 | 43 |
|
40 | 44 | <!--Create new Product Attribute as TextField, with product_type code.-->
|
41 | 45 | <actionGroup ref="CreateProductAttributeActionGroup" stepKey="createAttribute2">
|
42 | 46 | <argument name="attribute" value="ProductProductTypeAttribute"/>
|
43 | 47 | </actionGroup>
|
44 |
| - |
45 |
| - <see stepKey="seeErrorMessage2" selector="{{AdminMessagesSection.errorMessage}}" userInput="Code (product_type) is a reserved key and cannot be used as attribute code."/> |
| 48 | + <actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="seeErrorMessage2"> |
| 49 | + <argument name="messageType" value="error"/> |
| 50 | + <argument name="message" value="Code (product_type) is a reserved key and cannot be used as attribute code."/> |
| 51 | + </actionGroup> |
46 | 52 | </test>
|
47 | 53 | </tests>
|
0 commit comments