Skip to content

Commit 6c4e270

Browse files
committed
ACQE-7339: [MFTF TESTS] StorefrontCheckoutWithPurchaseOrderNumberPressKeyEnterTest
- Added the action group to remove any customer address attribute rules in before tag
1 parent a20a6ff commit 6c4e270

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@
2121

2222
<before>
2323
<createData entity="SimpleTwo" stepKey="createSimpleProduct"/>
24+
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
25+
<!-- Customer address validation rule to none -->
26+
<actionGroup ref="AdminGoToCustomerAddressActionGroup" stepKey="GoToCustomerAddressRollBack"/>
27+
<actionGroup ref="AdminCustomerAddressAttributeEditValidationRuleRollbackActionGroup" stepKey="editCustomerAddressPropertiesRollBack">
28+
<argument name="inputValidation" value="None"/>
29+
</actionGroup>
30+
<actionGroup ref="AssertMessageInAdminPanelActionGroup" stepKey="seeSuccessSaveCustomerAddressAttrRollBack">
31+
<argument name="message" value="You saved the customer address attribute." />
32+
</actionGroup>
2433

2534
<!-- Enable payment method -->
2635
<magentoCLI command="config:set {{PurchaseOrderEnableConfigData.path}} {{PurchaseOrderEnableConfigData.value}}" stepKey="enablePaymentMethod"/>

0 commit comments

Comments
 (0)