Skip to content

Commit d671a3f

Browse files
ACQE-5709 : Verify order ID
1 parent 2de454d commit d671a3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontPaypalExpressCheckoutWithDiscountCoupon.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
<!-- Click PayPal button and go back to Magento site -->
9292
<actionGroup ref="StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey="confirmPaymentAndGoBackToMagento"/>
9393
<!-- I see order successful Page -->
94-
<actionGroup ref="VerifyCreatedOrderInformationActionGroup" stepKey="assertOrderSuccess"/>
94+
<actionGroup ref="AssertStorefrontCheckoutSuccessActionGroup" stepKey="assertOrderSuccess"/>
95+
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="orderNumber"/>
96+
<assertNotEmpty stepKey="assertOrderIdIsNotEmpty">
97+
<actualResult type="const">$orderNumber</actualResult>
98+
</assertNotEmpty>
9599
</test>
96100
</tests>

0 commit comments

Comments
 (0)