File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Checkout/Test/Mftf/Section
Multishipping/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 14
14
<element name =" orderNumber" type =" text" selector =" div.checkout-success > p:nth-child(1) > span" />
15
15
<element name =" orderNumber22" type =" text" selector =" .order-number>strong" />
16
16
<element name =" orderLink" type =" text" selector =" a[href*=order_id].order-number" timeout =" 30" />
17
+ <element name =" orderLinks" type =" text" selector =" a[href*=order_id]" timeout =" 30" />
17
18
<element name =" orderNumberText" type =" text" selector =" .checkout-success > p:nth-child(1)" />
18
19
<element name =" continueShoppingButton" type =" button" selector =" .action.primary.continue" timeout =" 30" />
19
20
<element name =" createAnAccount" type =" button" selector =" [data-bind*=" i18n: 'Create an Account'" ]" timeout =" 30" />
Original file line number Diff line number Diff line change 51
51
<actionGroup ref =" SelectBillingInfoActionGroup" stepKey =" checkoutWithPaymentMethod" />
52
52
<actionGroup ref =" ReviewOrderForMultiShipmentActionGroup" stepKey =" reviewOrderForMultiShipment" />
53
53
<actionGroup ref =" PlaceOrderActionGroup" stepKey =" placeOrder" />
54
+ <grabTextFrom selector =" {{CheckoutSuccessMainSection.orderLinks}}" stepKey =" grabFirstOrderNumber" />
54
55
<amOnPage url =" {{StorefrontCustomerOrdersHistoryPage.url}}" stepKey =" goToSalesOrder" />
55
56
<actionGroup ref =" SalesOrderForMultiShipmentActionGroup" stepKey =" salesOrderForMultiShipment" />
56
57
<waitForPageLoad stepKey =" waitForAdminPageToLoad" />
57
58
<!-- Go to Stores > Configuration > Sales > Orders -->
58
59
<amOnPage url =" {{AdminOrdersPage.url}}" stepKey =" onAdminOrdersPage" />
60
+ <!-- Filter by first order id -->
61
+ <actionGroup ref =" filterOrderGridById" stepKey =" filterOrderGrid" >
62
+ <argument name =" orderId" value =" {$grabFirstOrderNumber}" />
63
+ </actionGroup >
59
64
<actionGroup ref =" AdminSalesOrderActionGroup" stepKey =" ValidateOrderTotals" />
60
65
<after >
61
66
<deleteData stepKey =" deleteCategory" createDataKey =" category" />
You can’t perform that action at this time.
0 commit comments