Skip to content

Commit c163118

Browse files
🔃 [Magento Community Engineering] Community Contributions - 2.4-develop latest changes
Accepted Community Pull Requests: - #27846: [MFTF] Use StorefrontOpenCartPageActionGroup to go to Checkout page (by @Usik2203) - #27300: FIX #27299 Consecutive Requests in Integration Tests failing (by @lbajsarowicz)
2 parents 2f95281 + 111f27f commit c163118

File tree

56 files changed

+132
-135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+132
-135
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAdminEditDataTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080
<waitForPageLoad stepKey="waitForElementAdded"/>
8181

8282
<!-- Go to the shopping cart page and grab the value of the option title -->
83-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="onPageShoppingCart"/>
84-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
83+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="onPageShoppingCart"/>
8584
<grabTextFrom selector="{{CheckoutCartProductSection.nthBundleOptionName('1')}}" stepKey="grabTotalBefore"/>
8685

8786
<!-- Find the product that we just created using the product grid -->
@@ -101,8 +100,7 @@
101100
<see stepKey="assertSuccess2" selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product."/>
102101

103102
<!-- Go to the shopping cart page and make sure the title has changed -->
104-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="onPageShoppingCart1"/>
105-
<waitForPageLoad stepKey="waitForCartPageLoad1"/>
103+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="onPageShoppingCart1"/>
106104
<grabTextFrom selector="{{CheckoutCartProductSection.nthBundleOptionName('1')}}" stepKey="grabTotalAfter"/>
107105
<assertNotEquals stepKey="assertNotEquals">
108106
<actualResult type="string">{$grabTotalAfter}</actualResult>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontBundleAddToCartSuccessTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@
100100
<see selector="{{StorefrontMessagesSection.success}}" userInput="You added {{BundleProduct.name}} to your shopping cart." stepKey="seeAddToCartSuccessMessage"/>
101101

102102
<!-- Verify cart contents -->
103-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
104-
<waitForPageLoad stepKey="waitForCart"/>
103+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
105104
<see selector="{{StorefrontBundledSection.nthItemOptionsTitle('1')}}" userInput="Option One" stepKey="seeOption1"/>
106105
<see selector="{{StorefrontBundledSection.nthItemOptionsTitle('2')}}" userInput="Option Two" stepKey="seeOption2"/>
107106
<see selector="{{StorefrontBundledSection.nthItemOptionsTitle('3')}}" userInput="Option Three" stepKey="seeOption3"/>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontEditBundleProductTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@
8989
<waitForPageLoad stepKey="waitForElementAdded2"/>
9090

9191
<!-- Go to the shopping cart page and edit the first product -->
92-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="onPageShoppingCart"/>
93-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
92+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="onPageShoppingCart"/>
9493
<waitForElementVisible stepKey="waitForInfoDropdown" selector="{{CheckoutCartSummarySection.total}}"/>
9594
<waitForPageLoad stepKey="waitForCartPageLoad3"/>
9695
<grabTextFrom selector="{{CheckoutCartSummarySection.total}}" stepKey="grabTotalBefore"/>
@@ -107,8 +106,7 @@
107106
<waitForPageLoad stepKey="waitForElementAdded3"/>
108107

109108
<!-- Go to the shopping cart page -->
110-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="onPageShoppingCart2"/>
111-
<waitForPageLoad stepKey="waitForCartPageLoad2"/>
109+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="onPageShoppingCart2"/>
112110

113111
<!-- Assert that the options are both there and the proce no longer matches -->
114112
<see stepKey="assertBothOptions" selector="{{CheckoutCartProductSection.nthItemOption('2')}}" userInput="$$simpleProduct1.sku$$"/>

app/code/Magento/Catalog/Test/Mftf/Test/AddToCartCrossSellTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@
7777
</actionGroup>
7878

7979
<!-- Check that cart page contains cross-sell to simpleProduct2 and simpleProduct3-->
80-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart1"/>
81-
<waitForPageLoad stepKey="waitForCartToLoad"/>
80+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart1"/>
8281
<waitForElementVisible selector="{{CheckoutCartCrossSellSection.products}}" stepKey="waitForCrossSellLoading"/>
8382
<see stepKey="seeProduct2InCrossSell" selector="{{CheckoutCartCrossSellSection.products}}" userInput="$simpleProduct2.name$"/>
8483
<see stepKey="seeProduct3InCrossSell" selector="{{CheckoutCartCrossSellSection.products}}" userInput="$simpleProduct3.name$"/>

app/code/Magento/Catalog/Test/Mftf/Test/AdminApplyTierPriceToProductTest/AdminApplyTierPriceToProductTest.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@
171171
<fillField selector="{{AdminProductFormAdvancedPricingSection.productTierPricePercentageValuePriceInput('1')}}" userInput="25" stepKey="selectProductTierPricePercentageValue2"/>
172172
<click selector="{{AdminProductFormAdvancedPricingSection.doneButton}}" stepKey="clickDoneButton4"/>
173173
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct4"/>
174-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage1"/>
175-
<waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad1"/>
174+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToShoppingCartPage1"/>
176175
<seeInField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20"/>
177176
<grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField4"/>
178177
<assertEquals message="Shopping cart should contain subtotal $1,500" stepKey="assertSubtotalField4">
@@ -198,8 +197,7 @@
198197
<click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig1"/>
199198
<see selector="{{AdminMessagesSection.success}}" userInput="You saved the configuration." stepKey="seeConfigSuccessMessage1"/>
200199
<actionGroup ref="ClearCacheActionGroup" stepKey="flushCache1"/>
201-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage2"/>
202-
<waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad2"/>
200+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToShoppingCartPage2"/>
203201
<seeInField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20_2"/>
204202
<grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField5"/>
205203
<assertEquals message="Shopping cart should contain subtotal $1,500" stepKey="assertSubtotalField5">
@@ -212,8 +210,7 @@
212210
<click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig2"/>
213211
<see selector="{{AdminMessagesSection.success}}" userInput="You saved the configuration." stepKey="seeConfigSuccessMessage2"/>
214212
<actionGroup ref="ClearCacheActionGroup" stepKey="flushCache2"/>
215-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage3"/>
216-
<waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad3"/>
213+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToShoppingCartPage3"/>
217214
<seeInField userInput="20" selector="{{CheckoutCartProductSection.ProductQuantityByName($$createSimpleProduct.name$$)}}" stepKey="seeInQtyField20_3"/>
218215
<grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField6"/>
219216
<assertEquals message="Shopping cart should contain subtotal $1,500" stepKey="assertSubtotalField6">
@@ -250,8 +247,7 @@
250247
<waitForElementVisible selector="{{AdminProductFormSection.productPrice}}" stepKey="waitForAdminProductFormSectionProductPriceInput"/>
251248
<fillField selector="{{AdminProductFormSection.productPrice}}" userInput="200" stepKey="fillProductPrice200"/>
252249
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButton"/>
253-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage4"/>
254-
<waitForPageLoad time="30" stepKey="waitForShoppingCartPagePageLoad4"/>
250+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToShoppingCartPage4"/>
255251
<grabTextFrom selector="{{CheckoutCartProductSection.productSubtotalByName($$createSimpleProduct.name$$)}}" stepKey="grabTextFromSubtotalField7"/>
256252
<assertEquals message="Shopping cart should contain subtotal $4,000" stepKey="assertSubtotalField7">
257253
<expectedResult type="string">$4,000.00</expectedResult>

app/code/Magento/Catalog/Test/Mftf/Test/AdminBackorderAllowedAddProductToCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
</actionGroup>
4242

4343
<!-- Go to the cart page and verify we see the product -->
44-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="gotoCart"/>
45-
<waitForPageLoad stepKey="waitForCartLoad"/>
44+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="gotoCart"/>
4645
<actionGroup ref="AssertStorefrontCheckoutCartItemsActionGroup" stepKey="assertProductItemInCheckOutCart">
4746
<argument name="productName" value="$$createProduct.name$$"/>
4847
<argument name="productSku" value="$$createProduct.sku$$"/>

app/code/Magento/CatalogInventory/Test/Mftf/Test/AssociatedProductToConfigurableOutOfStockTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<selectOption userInput="$$createConfigProductAttributeOption1.option[store_labels][1][label]$$" selector="{{StorefrontProductInfoMainSection.optionByAttributeId($$createConfigProductAttribute.attribute_id$$)}}" stepKey="configProductFillOption" />
104104
<click stepKey="addSimpleProductToCart" selector="{{StorefrontProductActionSection.addToCart}}"/>
105105
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" time="30" stepKey="waitForProductAdded"/>
106-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage"/>
106+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToShoppingCartPage"/>
107107
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart"/>
108108
<waitForElement selector="{{CheckoutShippingMethodsSection.next}}" time="30" stepKey="waitForNextButton"/>
109109
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>

app/code/Magento/CatalogRule/Test/Mftf/Test/AdminCreateCatalogPriceRuleTest/AdminCreateCatalogPriceRuleByPercentTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
<!-- Add the product to cart and check that the price is correct there -->
6464
<click stepKey="addToCart" selector="{{StorefrontProductActionSection.addToCart}}"/>
6565
<waitForPageLoad stepKey="waitForAddedToCart"/>
66-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCheckout"/>
67-
<waitForPageLoad stepKey="waitForCart"/>
66+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCheckout"/>
6867
<see stepKey="seeNewPriceInCart" selector="{{CheckoutCartSummarySection.subtotal}}" userInput="$110.70"/>
6968
</test>
7069
</tests>

app/code/Magento/CatalogRule/Test/Mftf/Test/StorefrontInactiveCatalogRuleTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<actionGroup ref="AddToCartFromStorefrontProductPageActionGroup" stepKey="addToCartFromStorefrontProductPage">
6161
<argument name="productName" value="$createProduct.name$"/>
6262
</actionGroup>
63-
<actionGroup ref="StorefrontOpenCartPageActionGroup" stepKey="openCartPage" />
63+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="openCartPage" />
6464
<waitForElementVisible selector="{{CheckoutCartSummarySection.subtotal}}" stepKey="waitForSubtotalAppears"/>
6565
<see selector="{{CheckoutCartSummarySection.subtotal}}" userInput="$createProduct.price$" stepKey="seeProductPriceOnCartPage"/>
6666
</test>

app/code/Magento/Checkout/Test/Mftf/ActionGroup/StorefrontOpenCartPageActionGroup.xml renamed to app/code/Magento/Checkout/Test/Mftf/ActionGroup/StorefrontCartPageOpenActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10-
<actionGroup name="StorefrontOpenCartPageActionGroup">
10+
<actionGroup name="StorefrontCartPageOpenActionGroup">
1111
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="openCartPage" />
1212
<waitForPageLoad stepKey="waitForPageLoaded" />
1313
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/CheckoutSpecificDestinationsTest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
</actionGroup>
4949

5050
<!--Go to shopping cart-->
51-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="amOnPageShoppingCart"/>
52-
51+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="amOnPageShoppingCart"/>
5352
<!--Verify country options in checkout top destination section-->
5453
<actionGroup ref="VerifyTopDestinationsCountryActionGroup" stepKey="verifyTopDestinationsCountry">
5554
<argument name="country" value="Bahamas"/>
@@ -68,7 +67,7 @@
6867
</actionGroup>
6968

7069
<!--Go to shopping cart-->
71-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="amOnPageShoppingCart2"/>
70+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="amOnPageShoppingCart2"/>
7271

7372
<!--Verify country options is shown by default-->
7473
<actionGroup ref="VerifyTopDestinationsCountryActionGroup" stepKey="verifyTopDestinationsCountry2">

app/code/Magento/Checkout/Test/Mftf/Test/DeleteBundleDynamicProductFromShoppingCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@
6060
</actionGroup>
6161

6262
<!-- Remove product from cart -->
63-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
64-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
63+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
6564
<actionGroup ref="DeleteProductFromShoppingCartActionGroup" stepKey="deleteProduct">
6665
<argument name="productName" value="$$createBundleDynamicProduct.name$$"/>
6766
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteBundleFixedProductFromShoppingCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@
5252
</actionGroup>
5353

5454
<!-- Remove product from cart -->
55-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
56-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
55+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
5756
<actionGroup ref="DeleteProductFromShoppingCartActionGroup" stepKey="deleteProduct">
5857
<argument name="productName" value="$$createFixedBundleProduct.name$$"/>
5958
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteConfigurableProductFromShoppingCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@
7474
</actionGroup>
7575

7676
<!-- Remove product from cart -->
77-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
78-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
77+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
7978
<actionGroup ref="DeleteProductFromShoppingCartActionGroup" stepKey="deleteProduct">
8079
<argument name="productName" value="$$createConfigProduct.name$$"/>
8180
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteDownloadableProductFromShoppingCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
</actionGroup>
4545

4646
<!-- Remove product from cart -->
47-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
48-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
47+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
4948
<actionGroup ref="DeleteProductFromShoppingCartActionGroup" stepKey="deleteProduct">
5049
<argument name="productName" value="$$createDownloadableProduct.name$$"/>
5150
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteGroupedProductFromShoppingCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
</actionGroup>
5959

6060
<!-- Remove products from cart -->
61-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
62-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
61+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
6362
<click selector="{{CheckoutCartProductSection.removeProductByName($$createFirstSimpleProduct.name$$)}}" stepKey="deleteFirstProductFromCheckoutCart"/>
6463
<click selector="{{CheckoutCartProductSection.removeProductByName($$createSecondSimpleProduct.name$$)}}" stepKey="deleteSecondProductFromCheckoutCart"/>
6564
<click selector="{{CheckoutCartProductSection.removeProductByName($$createThirdSimpleProduct.name$$)}}" stepKey="deleteThirdProductFromCheckoutCart"/>

app/code/Magento/Checkout/Test/Mftf/Test/DeleteVirtualProductFromShoppingCartTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
</actionGroup>
3939

4040
<!-- Remove product from cart -->
41-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCart"/>
42-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
41+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>
4342
<actionGroup ref="DeleteProductFromShoppingCartActionGroup" stepKey="deleteProduct">
4443
<argument name="productName" value="$$createVirtualProduct.name$$"/>
4544
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/ShoppingCartAndMiniShoppingCartPerCustomerTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@
115115
<argument name="Customer" value="$$createFirstCustomer$$"/>
116116
</actionGroup>
117117

118-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="amOnPageShoppingCart"/>
119-
<waitForPageLoad stepKey="waitForCheckoutPageLoad"/>
118+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="amOnPageShoppingCart"/>
120119

121120
<!-- Assert first products present in shopping cart -->
122121
<actionGroup ref="StorefrontCheckCartSimpleProductActionGroup" stepKey="checkFirstProductInCart">
@@ -155,8 +154,7 @@
155154
</actionGroup>
156155

157156
<!-- Assert first products present in shopping cart -->
158-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="amOnShoppingCartPage"/>
159-
<waitForPageLoad stepKey="waitForShoppingCartPageLoad"/>
157+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="amOnShoppingCartPage"/>
160158
<actionGroup ref="StorefrontCheckCartSimpleProductActionGroup" stepKey="checkProductInCart">
161159
<argument name="product" value="$$createSimpleProduct$$"/>
162160
<argument name="productQuantity" value="quoteQty2Price123.qty"/>

app/code/Magento/Checkout/Test/Mftf/Test/StoreFrontFreeShippingRecalculationAfterCouponCodeAddedTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
<actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart1"/>
6565
<waitForPageLoad stepKey="waitForpageLoad1"/>
6666
<dontSee selector="{{CheckoutShippingMethodsSection.shippingMethodRowByName('Free')}}" stepKey="dontSeeFreeShipping"/>
67-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToShoppingCartPage"/>
68-
<waitForPageLoad stepKey="waitForShoppingCartPage"/>
67+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToShoppingCartPage"/>
6968
<conditionalClick selector="{{DiscountSection.DiscountTab}}" dependentSelector="{{DiscountSection.CouponInput}}" visible="false" stepKey="clickIfDiscountTabClosed1"/>
7069
<waitForPageLoad stepKey="waitForCouponTabOpen1"/>
7170
<click selector="{{DiscountSection.CancelCoupon}}" stepKey="cancelCoupon"/>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCheckPagerShoppingCartWithMoreThan20ProductsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<deleteData createDataKey="simpleProduct20" stepKey="deleteCartItem20"/>
132132
<deleteData createDataKey="simpleProduct21" stepKey="deleteCartItem21"/>
133133
</after>
134-
<actionGroup ref="StorefrontOpenCartPageActionGroup" stepKey="goToCartPage" />
134+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCartPage" />
135135
<actionGroup ref="AssertToolbarTextIsVisibleInCartActionGroup" stepKey="VerifyPagerText">
136136
<argument name="text" value="Items 1 to 20 of 21 total"/>
137137
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontCheckoutDisabledBundleProductTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
</actionGroup>
7272
<closeTab stepKey="closeTab"/>
7373
<!-- Go to cart page-->
74-
<actionGroup ref="StorefrontOpenCartPageActionGroup" stepKey="openCartPage"/>
74+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="openCartPage"/>
7575
<!-- Assert checkout button exists on the page-->
7676
<seeElement selector="{{CheckoutCartSummarySection.proceedToCheckout}}" stepKey="seeCheckoutButton"/>
7777
<!-- Assert no error message is not shown on the page-->

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontMissingPagerShoppingCartWith20ProductsTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
<deleteData createDataKey="simpleProduct20" stepKey="deleteCartItem20"/>
127127
</after>
128128
<!-- Go to the shopping cart and check if the pager is missing-->
129-
<actionGroup ref="StorefrontOpenCartPageActionGroup" stepKey="goToCartPage" />
129+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCartPage" />
130130
<actionGroup ref="AssertPagerTextIsNotVisibleActionGroup" stepKey="VerifyMissingPagerText" >
131131
<argument name="text" value="Items 1 to 20"/>
132132
</actionGroup>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontOnePageCheckoutDataWhenChangeQtyTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
<seeInCurrentUrl url="{{CheckoutPage.url}}/#payment" stepKey="assertCheckoutPaymentUrl"/>
6666

6767
<!--Go to cart page, update qty and proceed to checkout-->
68-
<amOnPage url="{{CheckoutCartPage.url}}" stepKey="goToCartPage"/>
69-
<waitForPageLoad stepKey="waitForCartPageLoad"/>
68+
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCartPage"/>
7069
<see userInput="Shopping Cart" stepKey="seeCartPageIsOpened"/>
7170
<fillField selector="{{CheckoutCartProductSection.qty($$createProduct.name$$)}}" userInput="2" stepKey="updateProductQty"/>
7271
<click selector="{{CheckoutCartProductSection.updateShoppingCartButton}}" stepKey="clickUpdateShoppingCart"/>

0 commit comments

Comments
 (0)