Skip to content

Commit 9e73e75

Browse files
akaashakaash
authored andcommitted
Merge branch 'ACQE-5995' into ACQE-6098-functional-mainline-ce
2 parents 6aab8f5 + 205e7ae commit 9e73e75

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/code/Magento/Checkout/Test/Mftf/Test/AdminCheckZeroSubtotalOrderWithCustomStatus.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@
4545
<magentoCLI command="config:set {{EnableFreeOrderStatusPending.path}} {{EnableFreeOrderStatusPending.value}}" stepKey="disablePaymentMethodsSettingConfig"/>
4646
<magentoCLI command="config:set {{EnableFreeOrderPaymentAutomaticInvoiceAction.path}} {{EnableFreeOrderPaymentAutomaticInvoiceAction.value}}" stepKey="enableFreeOrderPaymentAutomaticInvoiceAction"/>
4747
<actionGroup ref="CliDisableFreeShippingMethodActionGroup" stepKey="disableFreeShippingConfig"/>
48+
<!-- Unassign order status -->
49+
<actionGroup ref="AdminGoToOrderStatusPageActionGroup" stepKey="goToOrderStatus"/>
50+
<actionGroup ref="FilterOrderStatusByLabelAndCodeActionGroup" stepKey="filterStatusGrid">
51+
<argument name="statusLabel" value="{{defaultOrderStatus.label}}"/>
52+
<argument name="statusCode" value="{{defaultOrderStatus.status}}"/>
53+
</actionGroup>
54+
<click selector="{{AdminOrderStatusGridSection.unassign}}" stepKey="unassignOrderStatus"/>
55+
<waitForPageLoad stepKey="waitForGridLoad"/>
56+
4857
<deleteData createDataKey="simplecategory" stepKey="deleteCategory"/>
4958
<deleteData createDataKey="simpleproduct" stepKey="deleteProduct"/>
5059
<deleteData createDataKey="createCartPriceRule" stepKey="deleteSalesRule"/>
@@ -79,7 +88,9 @@
7988
<!-- Assign status to state -->
8089
<click selector="{{AdminOrderStatusGridSection.assignStatusToStateBtn}}" stepKey="clickAssignStatusBtn"/>
8190
<selectOption selector="{{AdminAssignOrderStatusToStateSection.orderStatus}}" userInput="{{defaultOrderStatus.label}}" stepKey="selectOrderStatus"/>
91+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear1"/>
8292
<selectOption selector="{{AdminAssignOrderStatusToStateSection.orderState}}" userInput="{{OrderState.new}}" stepKey="selectOrderState"/>
93+
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear2"/>
8394
<checkOption selector="{{AdminAssignOrderStatusToStateSection.orderStatusAsDefault}}" stepKey="orderStatusAsDefault"/>
8495
<uncheckOption selector="{{AdminAssignOrderStatusToStateSection.visibleOnStorefront}}" stepKey="visibleOnStorefront"/>
8596
<click selector="{{AdminAssignOrderStatusToStateSection.saveStatusAssignment}}" stepKey="clickSaveStatus"/>

0 commit comments

Comments
 (0)