Skip to content

Commit f6e12ef

Browse files
committed
MC-29766: [Upport 2.4.0] [FT] Test StorefrontNotApplicableShippingMethodInReviewAndPaymentStepTest randomly failed on Jenkins
1 parent 2c56525 commit f6e12ef

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1010
<actionGroup name="AssertStorefrontOrderIsNotPlacedActionGroup" extends="AssertStorefrontOrderCannotBePlacedActionGroup">
11+
<annotations>
12+
<description>Validates order cannot be placed and checks error message.</description>
13+
</annotations>
1114
<remove keyForRemoval="assertErrorMessage"/>
1215
<seeElementInDOM selector="{{CheckoutHeaderSection.errorMessageContainsText(error)}}" stepKey="assertErrorMessageInDOM"/>
1316
</actionGroup>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="StorefrontCheckoutClickNextOnShippingStepActionGroup" extends="StorefrontCheckoutForwardFromShippingStepActionGroup">
12+
<annotations>
13+
<description>Scrolls and clicks next on Checkout Shipping step</description>
14+
</annotations>
1215
<scrollTo selector="{{CheckoutShippingSection.next}}" before="clickNext" stepKey="scrollToNextButton"/>
16+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/>
1317
</actionGroup>
1418
</actionGroups>

app/code/Magento/Shipping/Test/Mftf/ActionGroup/AdminSetShippingOriginConfigurationActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<description>Set Shipping Origin configurations</description>
1414
</annotations>
1515
<arguments>
16-
<argument name="address"/>
16+
<argument name="address" defaultValue="US_Address_California"/>
1717
</arguments>
1818
<magentoCLI command="config:set {{AdminShippingSettingsOriginCountryConfigData.path}} {{address.country_id}}" stepKey="setOriginCountry"/>
1919
<magentoCLI command="config:set {{AdminShippingSettingsOriginCityConfigData.path}} {{address.city}}" stepKey="setOriginCity"/>

0 commit comments

Comments
 (0)