|
134 | 134 | <argument name="productName" value="$$createSimpleProduct.name$$"/>
|
135 | 135 | </actionGroup>
|
136 | 136 | <actionGroup ref="StorefrontViewAndEditCartFromMiniCartActionGroup" stepKey="goToCheckoutFromMinicart"/>
|
137 |
| - <seeInField userInput="10" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField10"/> |
| 137 | + <seeInField userInput="10" selector="{{CheckoutCartProductSection.productQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField10"/> |
138 | 138 | <grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField1"/>
|
139 | 139 | <assertEquals message="Shopping cart should contain subtotal $1,000" stepKey="assertSubtotalField1">
|
140 | 140 | <expectedResult type="string">$1,000.00</expectedResult>
|
141 | 141 | <actualResult type="variable">grabTextFromSubtotalField1</actualResult>
|
142 | 142 | </assertEquals>
|
143 |
| - <fillField userInput="15" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="fillProductQuantity2"/> |
| 143 | + <fillField userInput="15" selector="{{CheckoutCartProductSection.productQuantityByName($$createSimpleProduct.name$$)}}" stepKey="fillProductQuantity2"/> |
144 | 144 | <click selector="{{CheckoutCartProductSection.updateShoppingCartButton}}" stepKey="clickUpdateShoppingCartButton1"/>
|
145 | 145 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear1"/>
|
146 | 146 | <grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField2"/>
|
147 | 147 | <assertEquals message="Shopping cart should contain subtotal $1,350" stepKey="assertSubtotalField2">
|
148 | 148 | <expectedResult type="string">$1,350.00</expectedResult>
|
149 | 149 | <actualResult type="variable">grabTextFromSubtotalField2</actualResult>
|
150 | 150 | </assertEquals>
|
151 |
| - <fillField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="fillProductQuantity3"/> |
| 151 | + <fillField userInput="20" selector="{{CheckoutCartProductSection.productQuantityByName($$createSimpleProduct.name$$)}}" stepKey="fillProductQuantity3"/> |
152 | 152 | <click selector="{{CheckoutCartProductSection.updateShoppingCartButton}}" stepKey="clickUpdateShoppingCartButton2"/>
|
153 | 153 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear2"/>
|
154 | 154 | <grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField3"/>
|
|
169 | 169 | <actionGroup ref="SaveProductOnProductPageOnAdmin" stepKey="saveProduct4"/>
|
170 | 170 | <amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage1"/>
|
171 | 171 | <waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad1"/>
|
172 |
| - <seeInField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20"/> |
| 172 | + <seeInField userInput="20" selector="{{CheckoutCartProductSection.productQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20"/> |
173 | 173 | <grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField4"/>
|
174 | 174 | <assertEquals message="Shopping cart should contain subtotal $1,500" stepKey="assertSubtotalField4">
|
175 | 175 | <expectedResult type="string">$1,500.00</expectedResult>
|
|
196 | 196 | <actionGroup ref="ClearCacheActionGroup" stepKey="flushCache1"/>
|
197 | 197 | <amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage2"/>
|
198 | 198 | <waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad2"/>
|
199 |
| - <seeInField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20_2"/> |
| 199 | + <seeInField userInput="20" selector="{{CheckoutCartProductSection.productQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20_2"/> |
200 | 200 | <grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField5"/>
|
201 | 201 | <assertEquals message="Shopping cart should contain subtotal $1,500" stepKey="assertSubtotalField5">
|
202 | 202 | <expectedResult type="string">$1,500.00</expectedResult>
|
|
210 | 210 | <actionGroup ref="ClearCacheActionGroup" stepKey="flushCache2"/>
|
211 | 211 | <amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage3"/>
|
212 | 212 | <waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad3"/>
|
213 |
| - <seeInField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20_3"/> |
| 213 | + <seeInField userInput="20" selector="{{CheckoutCartProductSection.productQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20_3"/> |
214 | 214 | <grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField6"/>
|
215 | 215 | <assertEquals message="Shopping cart should contain subtotal $1,500" stepKey="assertSubtotalField6">
|
216 | 216 | <expectedResult type="string">$1,500.00</expectedResult>
|
|
0 commit comments