Skip to content

Commit db32e5d

Browse files
ACQE-6611: StorefrontCartPriceRuleCountryTest and StorefrontCartPriceRuleStateTest
added select option in country
1 parent 66927bf commit db32e5d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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="United States" stepKey="fillCountry2"/>
90+
<selectOption selector="{{CheckoutCartSummarySection.country}}" userInput="France" 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,12 @@
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"/>
7879
<see selector="{{CheckoutCartSummarySection.subtotal}}" userInput="$123.00" stepKey="seeSubtotal"/>
7980
<dontSeeElement selector="{{CheckoutCartSummarySection.discountAmount}}" stepKey="dontSeeDiscount"/>
8081

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

0 commit comments

Comments
 (0)