File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/code/Magento/Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 47
47
<see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Memo" stepKey =" seeNewMemoPageTitle" />
48
48
</actionGroup >
49
49
<actionGroup name =" SubmitCreditMemoActionGroup" >
50
+ <grabFromCurrentUrl regex =" ~/order_id/(\d+)/~" stepKey =" grabOrderId" />
50
51
<waitForElementVisible selector =" {{AdminCreditMemoTotalSection.submitRefundOffline}}" stepKey =" waitButtonEnabled" />
51
52
<click selector =" {{AdminCreditMemoTotalSection.submitRefundOffline}}" stepKey =" clickSubmitCreditMemo" />
52
53
<waitForElementVisible selector =" {{AdminMessagesSection.successMessage}}" stepKey =" waitForMessageAppears" />
53
54
<see selector =" {{AdminMessagesSection.successMessage}}" userInput =" You created the credit memo." stepKey =" seeCreditMemoCreateSuccess" />
55
+ <seeInCurrentUrl url =" {{AdminOrderDetailsPage.url}}$grabOrderId" stepKey =" seeViewOrderPageCreditMemo" />
54
56
</actionGroup >
55
57
<actionGroup name =" UpdateCreditMemoTotalsActionGroup" >
56
58
<waitForElementVisible selector =" {{AdminCreditMemoTotalSection.updateTotals}}" stepKey =" waitUpdateTotalsButtonEnabled" />
You can’t perform that action at this time.
0 commit comments