|
17 | 17 | <group value="product"/>
|
18 | 18 | </annotations>
|
19 | 19 | <before>
|
20 |
| - <!--<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>--> |
21 | 20 | <createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
|
22 |
| - <!--<createData entity="productAttributeWithTwoOptions" stepKey="createProductAttribute"/>--> |
| 21 | + <createData entity="productAttributeWithDropdownTwoOptions" stepKey="createProductAttribute"/> |
23 | 22 | </before>
|
24 | 23 | <after>
|
25 | 24 | <actionGroup ref="deleteProductUsingProductGrid" stepKey="deleteSimpleProduct">
|
26 | 25 | <argument name="product" value="SimpleProduct"/>
|
27 | 26 | </actionGroup>
|
28 | 27 | <deleteData createDataKey="createPreReqCategory" stepKey="deletePreReqCategory"/>
|
29 |
| - <!--<deleteData createDataKey="createProductAttribute" stepKey="deleteProductAttribute"/>--> |
| 28 | + <deleteData createDataKey="createProductAttribute" stepKey="deleteProductAttribute"/> |
30 | 29 | <actionGroup ref="logout" stepKey="logoutOfAdmin"/>
|
31 | 30 | </after>
|
32 | 31 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
|
33 |
| - <amOnPage url="{{ProductAttributePage.url}}" stepKey="navigateToProductAttribute"/> |
34 |
| - <waitForPageLoad stepKey="wait1"/> |
35 |
| - <!--<click selector="#add" stepKey="addNewAttribute"/>--> |
36 |
| - <fillField selector="{{AttributePropertiesSection.DefaultLabel}}" userInput="testattribute" stepKey="fillAttributeLabel"/> |
37 |
| - <selectOption selector="{{AttributePropertiesSection.InputType}}" userInput="Dropdown" stepKey="selectCatalogAttributeInputType"/> |
38 |
| - <click selector="{{StorefrontPropertiesSection.StoreFrontPropertiesTab}}" stepKey="clickStorefrontPropertiesTab"/> |
39 |
| - <selectOption selector="#is_visible_on_front" userInput="Yes" stepKey="isVisibleOnStoreFront"/> |
40 |
| - <selectOption selector="#used_in_product_listing" userInput="Yes" stepKey="usedInProductListing"/> |
41 |
| - <click selector="{{AttributePropertiesSection.Save}}" stepKey="saveAttribute"/> |
42 |
| - <waitForPageLoad stepKey="waitForSaveAttribute"/> |
43 | 32 | <amOnPage url="{{AdminProductAttributeSetGridPage.url}}" stepKey="amOnAttributeSetPage"/>
|
44 | 33 | <click selector="{{AdminProductAttributeSetGridSection.AttributeSetName('Default')}}" stepKey="chooseDefaultAttributeSet"/>
|
45 | 34 | <waitForPageLoad stepKey="waitForAttributeSetPageLoad"/>
|
|
54 | 43 | <actionGroup ref="ClearCacheActionGroup" stepKey="clearCache"/>
|
55 | 44 | <amOnPage url="{{StorefrontProductPage.url(SimpleProduct.urlKey)}}" stepKey="goProductPageOnStorefront"/>
|
56 | 45 | <waitForPageLoad stepKey="waitForProductPageToLoad"/>
|
57 |
| - <!--<see selector="#product-attribute-specs-table tr th:nth-of-type(1)" stepKey="seeAttribute"/>--> |
58 |
| - <!--<scrollTo selector=".additional-attributes tbody td:nth-of-type(1)" stepKey="seeAttribute1"/>--> |
59 | 46 | <dontSeeElement selector="//table[@id='product-attribute-specs-table']/tbody/tr/th[contains(text(),'testattribute')]" stepKey="seeAttribute2"/>
|
60 | 47 | </test>
|
61 | 48 | </tests>
|
0 commit comments