Skip to content

Commit ec90aca

Browse files
ACQE-6611: remove select option from the cart price rule
1 parent fe23cb5 commit ec90aca

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCartPriceRuleCountryTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
</actionGroup>
8888

8989
<!-- Do not see discount with other country -->
90-
<selectOption selector="{{CheckoutCartSummarySection.country}}" userInput="France" stepKey="fillCountry2"/>
90+
<selectOption selector="{{CheckoutCartSummarySection.country}}" userInput="United States" stepKey="fillCountry2"/>
9191
<waitForPageLoad stepKey="waitForCountry2"/>
9292
<dontSeeElement selector="{{CheckoutCartSummarySection.discountAmount}}" stepKey="dontSeeDiscount2"/>
9393
</test>

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCartPriceRuleStateTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,10 @@
7575
<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCartPage"/>
7676
<click selector="{{CheckoutCartSummarySection.shippingHeading}}" stepKey="expandShipping"/>
7777
<checkOption selector="{{CheckoutCartSummarySection.flatRateShippingMethod}}" stepKey="selectFlatRateShipping"/>
78-
<selectOption selector="{{CheckoutCartSummarySection.country}}" userInput="France" stepKey="fillCountryForCheckout"/>
7978
<see selector="{{CheckoutCartSummarySection.subtotal}}" userInput="$123.00" stepKey="seeSubtotal"/>
8079
<dontSeeElement selector="{{CheckoutCartSummarySection.discountAmount}}" stepKey="dontSeeDiscount"/>
8180

8281
<!-- See discount if we use valid postcode -->
83-
<selectOption selector="{{CheckoutCartSummarySection.country}}" userInput="United States" stepKey="fillCountryForDiscount"/>
8482
<selectOption selector="{{CheckoutCartSummarySection.stateProvince}}" userInput="Indiana" stepKey="fillState"/>
8583
<waitForPageLoad stepKey="waitForPostcode1"/>
8684
<comment userInput="Adding the comment to replace action for preserving Backward Compatibility" stepKey="waitForDiscountElement"/>

0 commit comments

Comments
 (0)