Skip to content

Commit 4e0b7d3

Browse files
committed
B2B-2117: Prepare AWS Aurora Functional Test CI Build for Handing Off to GL Team
- Fixing flaky tests
1 parent fd87c54 commit 4e0b7d3

11 files changed

+15
-12
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<after>
2727
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
2828
<deleteData createDataKey="simpleProduct2" stepKey="deleteSimpleProduct2"/>
29-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="StorefrontSignOutActionGroup"/>
29+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="StorefrontSignOutActionGroup"/>
3030
<actionGroup stepKey="deleteBundle" ref="DeleteProductUsingProductGridActionGroup">
3131
<argument name="product" value="BundleProduct"/>
3232
</actionGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickPlaceOrder"/>
114114
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForOrderSuccessPage1"/>
115115
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="grabOrderNumber"/>
116-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="StorefrontSignOutActionGroup"/>
116+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="StorefrontSignOutActionGroup"/>
117117
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin1"/>
118118

119119
<!-- Reset admin order filter -->

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142

143143
<!-- Verify changes on the front-end by opening a simple product as a logged in customer with saved card and address on a store view for which description was not changed
144144
1. New customer session should be started to verify changes -->
145-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="customerLogout"/>
145+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
146146
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginCustomer">
147147
<argument name="Customer" value="$$createCustomer$$"/>
148148
</actionGroup>
@@ -178,7 +178,7 @@
178178
<click selector="{{StorefrontInstantPurchasePopupSection.cancel}}" stepKey="closeModalPopUp"/>
179179
<waitForPageLoad stepKey="waitForModalClosing"/>
180180

181-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="createdCustomerLogout"/>
181+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="createdCustomerLogout"/>
182182

183183
<!-- Return to configuration and disable Instant Purchase in a specific store view -->
184184
<actionGroup ref="AdminOpenInstantPurchaseConfigPageActionGroup" stepKey="openInstantPurchasePage"/>
@@ -224,7 +224,7 @@
224224

225225
<!-- Verify changes on the front-end by opening a simple product as a logged in customer with saved card and address in the other store view
226226
1. New customer session should be started to verify changes -->
227-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="logoutCustomer"/>
227+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/>
228228
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="customerLoginToStorefront">
229229
<argument name="Customer" value="$$createCustomer$$"/>
230230
</actionGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<!-- Sign out Customer from storefront -->
4242
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openHomePage"/>
43-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="customerLogout"/>
43+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
4444
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
4545
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteCustomer">
4646
<argument name="customerEmail" value="UKCustomer.email"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<after>
3131
<!-- Sign out Customer from storefront -->
3232
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openHomePage"/>
33-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="customerLogout"/>
33+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
3434
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
3535
<actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteCustomer">
3636
<argument name="customerEmail" value="UKCustomer.email"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</actionGroup>
6464

6565
<!-- Sign out Customer from storefront -->
66-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="customerLogout"/>
66+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
6767

6868
<!-- Login to admin panel -->
6969
<openNewTab stepKey="openNewTab"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<!-- Sign out Customer from storefront -->
3434
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openHomePage"/>
35-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="customerLogout"/>
35+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
3636
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
3737
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
3838
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<!-- Sign out Customer from storefront -->
3434
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openHomePage"/>
35-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="customerLogout"/>
35+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
3636
<deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
3737
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
3838
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<!--Check price-->
4949
<waitForElementClickable selector="{{CheckoutPaymentSection.cartItemsArea}}" stepKey="waitForCartItemsClickable"/>
5050
<waitForElementNotVisible selector="{{CheckoutPaymentSection.cartItemsAreaActive}}" stepKey="waitForCartItemsActive"/>
51+
<waitForPageLoad stepKey="waitForOrderSummaryLoad"/>
5152
<click selector="{{CheckoutPaymentSection.cartItemsArea}}" stepKey="openItemProductBlock"/>
5253
<waitForPageLoad stepKey="waitForLoadingMaskForCartItem"/>
5354
<see userInput="$100.00" selector="{{CheckoutPaymentSection.orderSummarySubtotal}}" stepKey="checkSummarySubtotal"/>
@@ -65,8 +66,10 @@
6566
<!--Check price-->
6667
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadPage"/>
6768
<comment userInput="Replacing reload action and preserve Backward Compatibility" stepKey="waitForCheckoutPageReload"/>
69+
<!-- change below waitForElementVisible action to waitForElementClickable to prevent flakiness once MQE-3210 is complete -->
6870
<waitForElementVisible selector="{{CheckoutPaymentSection.cartItemsArea}}" stepKey="waitForCartItemsVisible1"/>
6971
<waitForElementNotVisible selector="{{CheckoutPaymentSection.cartItemsAreaActive}}" stepKey="waitForCartItemsActive1"/>
72+
<waitForPageLoad stepKey="waitForOrderSummaryLoad2"/>
7073
<click selector="{{CheckoutPaymentSection.cartItemsArea}}" stepKey="openItemProductBlock1"/>
7174
<waitForPageLoad stepKey="waitForCartItemLoaded"/>
7275
<see userInput="$120.00" selector="{{CheckoutPaymentSection.orderSummarySubtotal}}" stepKey="checkSummarySubtotal1"/>

app/code/Magento/Sales/Test/Mftf/Test/StorefrontCreateOrdersWithMoveJSCodeBottomTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@
9999
<actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="goToCheckoutReview2"/>
100100
<actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyPayment2"/>
101101
<actionGroup ref="ClickPlaceOrderActionGroup" stepKey="customerPlaceOrder" />
102-
<actionGroup ref="StorefrontSignOutActionGroup" stepKey="singOutCustomer" />
102+
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="singOutCustomer" />
103103
</test>
104104
</tests>

0 commit comments

Comments
 (0)