Skip to content

Commit ae16c1d

Browse files
committed
ACQE-9013: [MFTF PR TESTS] AdminOrderEmailsConfirmationMessageTest
- Reload order page after creating invoice/shipment/credit memo to clear form validation state.
1 parent b54387b commit ae16c1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminOrderEmailsConfirmationMessageTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
<!-- Step 5: Create invoice, shipment, and credit memo -->
5858
<actionGroup ref="AdminCreateInvoiceAndShipmentActionGroup" stepKey="createInvoiceAndShipment"/>
5959
<actionGroup ref="AdminCreateCreditMemoWithReturnToStockActionGroup" stepKey="createCreditMemo"/>
60+
<!-- Reload order page to clear form state -->
61+
<actionGroup ref="OpenOrderByIdActionGroup" stepKey="reloadOrderBeforeInvoice">
62+
<argument name="orderId" value="{$orderNumber}"/>
63+
</actionGroup>
6064
<!-- Step 6: In the order page, click on invoice under the information tab -->
6165
<click selector="{{AdminOrderDetailsMainActionsSection.invoiceTab}}" stepKey="goToInvoiceTab"/>
6266
<!-- Steps 7: Click on view button under action. -->

0 commit comments

Comments
 (0)