File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
app/code/Magento/Sales/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1818 <testCaseId value =" MAGETWO-72096" />
1919 <group value =" sales" />
2020 </annotations >
21-
22- <before >
21+ <before >
2322 <createData entity =" _defaultCategory" stepKey =" createCategory" />
2423 <createData entity =" _defaultProduct" stepKey =" createSimpleProductApi" >
2524 <requiredEntity createDataKey =" createCategory" />
3433 </createData >
3534 <updateData createDataKey =" createGuestCart" entity =" GuestOrderPaymentMethod" stepKey =" sendGuestPaymentInformation" >
3635 <requiredEntity createDataKey =" createGuestCart" />
37- </updateData >
36+ </updateData >
3837
3938 <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
40-
4139 </before >
42-
4340 <after >
4441 <deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
4542 <deleteData createDataKey =" createSimpleProductApi" stepKey =" deleteSimpleProductApi" />
4643 <actionGroup ref =" AdminLogoutActionGroup" stepKey =" adminLogout" />
4744 </after >
48-
4945 <actionGroup ref =" AdminOpenOrderByEntityIdActionGroup" stepKey =" openOrder" >
5046 <argument name =" entityId" value =" $createGuestCart.return$" />
51- </actionGroup >
47+ </actionGroup >
48+
49+ <grabTextFrom selector =" {{AdminOrderDetailsInformationSection.orderId}}" stepKey =" grabOrderId" />
5250
5351 <actionGroup ref =" AdminCreateInvoiceActionGroup" stepKey =" createInvoice" />
5452
5553 <actionGroup ref =" FilterInvoiceGridByOrderIdWithCleanFiltersActionGroup" stepKey =" filterInvoiceGridByOrderId" >
56- <argument name =" orderId" value =" $createGuestCart.return$ " />
54+ <argument name =" orderId" value =" $grabOrderId " />
5755 </actionGroup >
5856
5957 <actionGroup ref =" AdminSelectFirstGridRowActionGroup" stepKey =" openInvoiceFromGrid" />
6058
6159 <actionGroup ref =" AdminOrderViewCheckStatusActionGroup" stepKey =" checkIfOrderStatusIsProcessing" >
6260 <argument name =" status" value =" Processing" />
63- </actionGroup >
64-
61+ </actionGroup >
6562 </test >
6663</tests >
You can’t perform that action at this time.
0 commit comments