Skip to content

Commit c8ba969

Browse files
committed
ACQE-4735: Added disable table rate method actiongroup
1 parent 47186e3 commit c8ba969

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/code/Magento/Shipping/Test/Mftf/Test/MultipleAddressCheckoutWithTwoDifferentRatesTest.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@
2828
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
2929
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
3030
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
31+
<!-- disable table rate meth0d -->
32+
<actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/>
33+
<!-- Switch to Website scope -->
34+
<actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreView">
35+
<argument name="website" value="_defaultWebsite"/>
36+
</actionGroup>
37+
<actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="disableTableRatesShippingMethod">
38+
<argument name="status" value="0"/>
39+
</actionGroup>
40+
<actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfig"/>
3141
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3242
</after>
3343
<!-- Go to Stores > Configuration > Sales > Shipping Methods -->

0 commit comments

Comments
 (0)