|
38 | 38 | </after>
|
39 | 39 |
|
40 | 40 | <!-- Verify configurable product details in storefront product view -->
|
41 |
| - <!--<amOnPage url="{{_defaultProduct.urlKey}}.html" stepKey="amOnConfigurableProductPage"/>--> |
42 |
| - <!--<waitForPageLoad stepKey="wait"/>--> |
43 | 41 | <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openStorefrontProductPage">
|
44 | 42 | <argument name="productUrl" value="{{_defaultProduct.urlKey}}"/>
|
45 | 43 | </actionGroup>
|
46 | 44 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="wait"/>
|
47 |
| - |
48 |
| - <!--<see userInput="{{_defaultProduct.name}}" selector="{{StorefrontProductInfoMainSection.productName}}" stepKey="seeProductName"/>--> |
49 | 45 | <actionGroup ref="StorefrontAssertProductNameOnProductPageActionGroup" stepKey="seeProductName">
|
50 | 46 | <argument name="productName" value="{{_defaultProduct.name}}"/>
|
51 | 47 | </actionGroup>
|
52 |
| - |
53 |
| - <!--<see userInput="{{_defaultProduct.sku}}" selector="{{StorefrontProductInfoMainSection.productSku}}" stepKey="seeProductSku"/>--> |
54 | 48 | <actionGroup ref="StorefrontAssertProductSkuOnProductPageActionGroup" stepKey="seeProductSku">
|
55 | 49 | <argument name="productSku" value="{{_defaultProduct.sku}}"/>
|
56 | 50 | </actionGroup>
|
57 |
| - |
58 | 51 | <see userInput="As low as" selector="{{StorefrontProductInfoMainSection.productPriceLabel}}" stepKey="seeProductPriceLabel"/>
|
59 |
| - <!--<see userInput="IN STOCK" selector="{{StorefrontProductInfoMainSection.productStockStatus}}" stepKey="seeProductStockStatus"/>--> |
60 | 52 | <actionGroup ref="AssertStorefrontProductStockStatusOnProductPageActionGroup" stepKey="seeProductStatusInStoreFront">
|
61 | 53 | <argument name="productStockStatus" value="In Stock"/>
|
62 | 54 | </actionGroup>
|
63 |
| - <!--<see userInput="1.00" selector="{{StorefrontProductInfoMainSection.productPrice}}" stepKey="seeProductPrice"/>--> |
64 | 55 | <actionGroup ref="StorefrontAssertProductPriceOnProductPageActionGroup" stepKey="seeProductPrice">
|
65 | 56 | <argument name="productPrice" value="1.00"/>
|
66 | 57 | </actionGroup>
|
67 |
| - <!--<see userInput="{{colorProductAttribute.default_label}}" selector="{{StorefrontProductInfoMainSection.productAttributeTitle1}}" stepKey="seeProductAttributeTitle"/>--> |
68 | 58 | <actionGroup ref="AssertStorefrontProductAttributeLabelVisibleActionGroup" stepKey="seeProductAttributeTitle">
|
69 | 59 | <argument name="productAttributeLabel" value="{{colorProductAttribute.default_label}}"/>
|
70 | 60 | </actionGroup>
|
71 |
| - <see selector="{{StorefrontProductInfoMainSection.productAttributeTitle1}}" userInput="{{colorProductAttribute.default_label}}" stepKey="seeColorAttributeName1"/> |
72 |
| - <see userInput="{{colorProductAttribute1.name}}" selector="{{StorefrontProductInfoMainSection.productAttributeOptions1}}" stepKey="seeInDropDown1"/> |
73 |
| - <see userInput="{{colorProductAttribute2.name}}" selector="{{StorefrontProductInfoMainSection.productAttributeOptions1}}" stepKey="seeInDropDown2"/> |
74 |
| - <see userInput="{{colorProductAttribute3.name}}" selector="{{StorefrontProductInfoMainSection.productAttributeOptions1}}" stepKey="seeInDropDown3"/> |
| 61 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeColorAttributeName1"/> |
| 62 | + <actionGroup ref="AssertStorefrontProductAtttributeOptionVisibleActionGroup" stepKey="seeInDropDown1"> |
| 63 | + <argument name="productAttributeOption" value="{{colorProductAttribute1.name}}"/> |
| 64 | + </actionGroup> |
| 65 | + <actionGroup ref="AssertStorefrontProductAtttributeOptionVisibleActionGroup" stepKey="seeInDropDown2"> |
| 66 | + <argument name="productAttributeOption" value="{{colorProductAttribute2.name}}"/> |
| 67 | + </actionGroup> |
| 68 | + <actionGroup ref="AssertStorefrontProductAtttributeOptionVisibleActionGroup" stepKey="seeInDropDown3"> |
| 69 | + <argument name="productAttributeOption" value="{{colorProductAttribute3.name}}"/> |
| 70 | + </actionGroup> |
75 | 71 | </test>
|
76 | 72 | </tests>
|
0 commit comments