Skip to content

Commit c47f281

Browse files
author
Stas Puga
committed
MC-15749: This is a flaky test "MAGETWO-69516: Cart Price Rule with related Banner for specific Customer Segment is persisted under long-term cookie"
1 parent d3c55bb commit c47f281

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/VerifyCheckoutPaymentOrderSummaryActionGroup.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,27 @@
1919
<see selector="{{CheckoutPaymentSection.orderSummaryShippingTotal}}" userInput="{{orderSummaryShippingTotal}}" stepKey="seeCorrectShipping"/>
2020
<see selector="{{CheckoutPaymentSection.orderSummaryTotal}}" userInput="{{orderSummaryTotal}}" stepKey="seeCorrectOrderTotal"/>
2121
</actionGroup>
22+
<!-- Assert Order Summary SubTotal You should be on checkout page -->
23+
<actionGroup name="AssertStorefrontCheckoutPaymentSummarySubtotalActionGroup">
24+
<arguments>
25+
<argument name="orderSubtotal" type="string"/>
26+
</arguments>
27+
<waitForPageLoad time="30" stepKey="waitForCartFullyLoaded"/>
28+
<waitForElementVisible selector="{{CheckoutPaymentSection.orderSummarySubtotal}}" time="30" stepKey="waitForOrderSummaryBlock"/>
29+
<see selector="{{CheckoutPaymentSection.orderSummarySubtotal}}" userInput="{{orderSubtotal}}" stepKey="seeCorrectSubtotal"/>
30+
</actionGroup>
31+
<!-- Assert Order Summary Total You should be on checkout page -->
32+
<actionGroup name="AssertStorefrontCheckoutPaymentSummaryTotalActionGroup">
33+
<arguments>
34+
<argument name="orderTotal" type="string"/>
35+
</arguments>
36+
<waitForPageLoad time="30" stepKey="waitForCartFullyLoaded"/>
37+
<waitForElementVisible selector="{{CheckoutPaymentSection.orderSummaryTotal}}" time="30" stepKey="waitForOrderSummaryBlock"/>
38+
<see selector="{{CheckoutPaymentSection.orderSummaryTotal}}" userInput="{{orderTotal}}" stepKey="seeCorrectOrderTotal"/>
39+
</actionGroup>
40+
<!-- Assert Order Summary Total Is Not Shown You should be on checkout page -->
41+
<actionGroup name="AssertStorefrontCheckoutPaymentSummaryTotalMissingActionGroup">
42+
<waitForPageLoad time="30" stepKey="waitForCartFullyLoaded"/>
43+
<dontSeeElement selector="{{CheckoutPaymentSection.orderSummaryTotal}}" stepKey="seeTotalElement"/>
44+
</actionGroup>
2245
</actionGroups>

app/code/Magento/Persistent/Test/Mftf/ActionGroup/StorefrontPersistentAssertCustomerWelcomeMessageActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
<remove keyForRemoval="verifyMessage"/>
2121
<dontSee selector="{{StorefrontPanelHeaderSection.welcomeMessage}}" userInput="Welcome, {{customerFullName}}! Not you?" stepKey="dontSeeWelcomeMessageNotYou"/>
2222
</actionGroup>
23-
</actionGroups>
23+
</actionGroups>

0 commit comments

Comments
 (0)