Skip to content

Commit c150851

Browse files
committed
MFTF Stability control
- fix my own issue
1 parent b2f7e3d commit c150851

18 files changed

+18
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
3737
<waitForPageLoad stepKey="waitForPaymentLoading"/>
3838
<waitForElementVisible selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
39-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
39+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
4040
</actionGroup>
4141
</actionGroups>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<click selector="{{CheckoutShippingSection.firstShippingMethod}}" stepKey="selectFirstShippingMethod"/>
3030
<waitForElement selector="{{CheckoutShippingSection.next}}" time="30" stepKey="waitForNextButton"/>
3131
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
32-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
32+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
3333
<waitForElementVisible selector="{{CheckoutPaymentSection.noQuotes}}" stepKey="waitMessage"/>
3434
<see userInput="No Payment method available." stepKey="checkMessage"/>
3535
</actionGroup>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
<waitForElement selector="{{CheckoutShippingSection.next}}" time="30" stepKey="waitForNextButton"/>
3131
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
3232
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
33-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
33+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
3434
</actionGroup>
3535
</actionGroups>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
3838
<waitForPageLoad stepKey="waitForPaymentLoading"/>
3939
<waitForElementVisible selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
40-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
40+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
4141
</actionGroup>
4242
</actionGroups>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
<waitForElement selector="{{CheckoutShippingSection.next}}" time="30" stepKey="waitForNextButton"/>
3131
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
3232
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
33-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
33+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
3434
</actionGroup>
3535
</actionGroups>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
<waitForPageLoad stepKey="waitForShippingLoadingMask"/>
3131
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
3232
<waitForElementVisible selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
33-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
33+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
3434
</actionGroup>
3535
</actionGroups>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<waitForElement selector="{{CheckoutShippingSection.next}}" stepKey="waitForNextButton"/>
2626
<click selector="{{CheckoutShippingSection.next}}" stepKey="clickNext"/>
2727
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" stepKey="waitForPaymentSectionLoaded"/>
28-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
28+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
2929
<waitForElementVisible selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="waitForPlaceOrderButton"/>
3030
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder"/>
3131
<see selector="{{CheckoutSuccessMainSection.successTitle}}" userInput="Thank you for your purchase!" stepKey="waitForLoadSuccessPage"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515

1616
<click selector="{{CheckoutShippingGuestInfoSection.next}}" stepKey="clickNext"/>
1717
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" stepKey="waitForPaymentSectionLoaded" after="clickNext"/>
18-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
18+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
1919
</actionGroup>
2020
</actionGroups>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<click selector="{{CheckoutShippingSection.firstShippingMethod}}" stepKey="selectFirstShippingMethod"/>
5959
<actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNext"/>
6060
<waitForElement selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
61-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
61+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
6262

6363
</test>
6464
</tests>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNextButtonOnShippingPage" />
7373
<waitForPageLoad stepKey="waitForPaymentLoading"/>
7474
<waitForElementVisible selector="{{CheckoutPaymentSection.paymentSectionTitle}}" time="30" stepKey="waitForPaymentSectionLoaded"/>
75-
<seeCurrentUrlMatches regex="~{{CheckoutPage.url}}/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
75+
<seeCurrentUrlMatches regex="~/checkout/?#payment~" stepKey="assertCheckoutPaymentUrl"/>
7676

7777
<actionGroup ref="StorefrontApplyDiscountCodeActionGroup" stepKey="applyDiscountCoupon">
7878
<argument name="discountCode" value="$createCartPriceRuleCoupon.code$"/>

0 commit comments

Comments
 (0)