Skip to content

Commit dc38d9d

Browse files
committed
AC-6080: Fixed the MFTF test fail
1 parent 0ec607b commit dc38d9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<group value="checkout"/>
2121
</annotations>
2222
<before>
23+
<!--Enable flat rate shipping-->
24+
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
2325
<createData entity="_defaultCategory" stepKey="createCategory"/>
2426
<createData entity="SimpleProduct" stepKey="createProduct">
2527
<requiredEntity createDataKey="createCategory"/>
@@ -31,6 +33,8 @@
3133
</actionGroup>
3234
</before>
3335
<after>
36+
<!-- Disable shipping method for customer with default address -->
37+
<magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey="disableFlatRate"/>
3438
<!--Logout from customer account-->
3539
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutStorefront"/>
3640
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>

0 commit comments

Comments
 (0)