|
21 | 21 | <!-- creating category, simple products --> |
22 | 22 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
23 | 23 | <createData entity="_defaultCategory" stepKey="createCategory"/> |
24 | | - <createData entity="ApiSimpleProductWithOptions" stepKey="simpleProduct1"/> |
25 | | - <createData entity="ApiSimpleProductWithOptions" stepKey="simpleProduct2"/> |
| 24 | + <createData entity="ImportProductSimple2_Bundle" stepKey="simpleProduct1"/> |
| 25 | + <createData entity="ImportProductSimple1_Bundle" stepKey="simpleProduct2"/> |
26 | 26 | </before> |
27 | 27 | <after> |
28 | 28 | <!-- Delete bundle product --> |
|
49 | 49 |
|
50 | 50 | <!-- Add two bundle items --> |
51 | 51 | <conditionalClick selector="{{AdminProductFormBundleSection.bundleItemsToggle}}" dependentSelector="{{AdminProductFormBundleSection.bundleItemsToggle}}" visible="false" stepKey="conditionallyOpenSectionBundleItems"/> |
52 | | - <!-- Add two bundle options to the product --> |
| 52 | + <!-- Add bundle option to the product --> |
53 | 53 | <actionGroup ref="AddBundleOptionWithTwoProductsActionGroup" stepKey="clickAddSelectedBundleProducts"> |
54 | 54 | <argument name="x" value="0"/> |
55 | 55 | <argument name="n" value="1"/> |
|
83 | 83 | <argument name="message" value="You saved the product."/> |
84 | 84 | </actionGroup> |
85 | 85 |
|
86 | | - <!-- Verify we see created bundle product(from the above step) on the product grid page --> |
| 86 | + <!-- Verify we see created bundle product(from the above step) on the product grid page--> |
87 | 87 | <actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage1"/> |
88 | 88 | <actionGroup ref="FilterProductGridBySkuAndNameActionGroup" stepKey="clickSearch"> |
89 | 89 | <argument name="product" value="BundleProduct"/> |
|
93 | 93 | <!-- Admin: Verify Bundle Product Information on Edit Product Page --> |
94 | 94 | <scrollTo selector="{{AdminProductFormBundleSection.allBundleOptions}}" stepKey="scrollToAllBundleOptions" /> |
95 | 95 | <actionGroup ref="AdminVerifyProductInBundleProductOptionActionGroup" stepKey="verifyBundleProductOption1Product1"> |
96 | | - <argument name="name" value="{{ApiSimpleProductWithOptions.name}}"/> |
97 | | - <argument name="sku" value="{{ApiSimpleProductWithOptions.sku}}"/> |
98 | | - <argument name="defaultQuantity" value="{{ApiSimpleProductWithOptions.bundleDefaultQuantity}}"/> |
99 | | - <argument name="isDefault" value="{{ApiSimpleProductWithOptions.bundleIsDefault}}"/> |
100 | | - <argument name="userDefined" value="{{ApiSimpleProductWithOptions.bundleUserDefined}}"/> |
| 96 | + <argument name="name" value="{{ImportProductSimple2_Bundle.name}}"/> |
| 97 | + <argument name="sku" value="{{ImportProductSimple2_Bundle.sku}}"/> |
| 98 | + <argument name="defaultQuantity" value="50"/> |
| 99 | + <argument name="isDefault" value="{{ImportProductSimple2_Bundle.bundleIsDefault}}"/> |
| 100 | + <argument name="userDefined" value="{{ImportProductSimple2_Bundle.bundleUserDefined}}"/> |
101 | 101 | <argument name="optionIndex" value="1"/> |
102 | 102 | <argument name="productIndex" value="1"/> |
103 | 103 | </actionGroup> |
104 | 104 | <actionGroup ref="AdminVerifyProductInBundleProductOptionActionGroup" stepKey="verifyBundleProductOption1Product2"> |
105 | | - <argument name="name" value="{{ApiSimpleProductWithOptions.name}}"/> |
106 | | - <argument name="sku" value="{{ApiSimpleProductWithOptions.sku}}"/> |
107 | | - <argument name="defaultQuantity" value="{{ApiSimpleProductWithOptions.bundleDefaultQuantity}}"/> |
108 | | - <argument name="isDefault" value="false"/> |
109 | | - <argument name="userDefined" value="false"/> |
| 105 | + <argument name="name" value="{{ImportProductSimple1_Bundle.name}}"/> |
| 106 | + <argument name="sku" value="{{ImportProductSimple1_Bundle.sku}}"/> |
| 107 | + <argument name="defaultQuantity" value="50"/> |
| 108 | + <argument name="isDefault" value="{{ImportProductSimple1_Bundle.bundleIsDefault}}"/> |
| 109 | + <argument name="userDefined" value="{{ImportProductSimple1_Bundle.bundleUserDefined}}"/> |
110 | 110 | <argument name="optionIndex" value="1"/> |
111 | 111 | <argument name="productIndex" value="2"/> |
112 | 112 | </actionGroup> |
113 | 113 |
|
114 | | - |
115 | 114 | <!-- Storefront: Verify Bundle Product In Category --> |
116 | 115 | <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="GoToProductPage"> |
117 | 116 | <argument name="productUrl" value="{{BundleProduct.urlKey}}"/> |
|
124 | 123 | </actionGroup> |
125 | 124 | <see selector="{{StorefrontProductInfoMainSection.productName}}" userInput="{{BundleProduct.name}}" stepKey="seeProductName"/> |
126 | 125 | <see selector="{{StorefrontProductInfoMainSection.productSku}}" userInput="{{BundleProduct.sku}}" stepKey="seeSku"/> |
127 | | - <see userInput="$6,150.00" selector="{{StorefrontProductInfoMainSection.productPrice}}" stepKey="seePrice"/> |
| 126 | + <see userInput="From $500.00 To $1,000.00" selector="{{StorefrontProductInfoMainSection.productPrice}}" stepKey="seePrice"/> |
128 | 127 |
|
129 | 128 | <!-- Storefront: Verify Product option details --> |
130 | 129 | <click selector="{{StorefrontBundledSection.addToCart}}" stepKey="clickCustomizeAndAddToCart"/> |
|
0 commit comments