Skip to content

Commit 497314b

Browse files
committed
MC-33100: Fix StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup.
1 parent d69c242 commit 497314b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@
3131
<amOnPage url="" stepKey="DoToStorefront"/>
3232

3333
<!-- Fill out form for a new user with address -->
34-
<actionGroup ref="SignUpNewUserFromStorefrontActionGroup" stepKey="signUpNewUser">
35-
<argument name="Customer" value="Simple_US_Customer_NY"/>
34+
<actionGroup ref="StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey="openCreateAccountPage"/>
35+
<actionGroup ref="StorefrontFillCustomerAccountCreationFormActionGroup" stepKey="fillCreateAccountForm">
36+
<argument name="customer" value="Simple_US_Customer_NY"/>
37+
</actionGroup>
38+
<actionGroup ref="StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup" stepKey="submitCreateAccountForm"/>
39+
<actionGroup ref="AssertMessageCustomerCreateAccountActionGroup" stepKey="seeSuccessMessage">
40+
<argument name="messageType" value="success"/>
41+
<argument name="message" value="Thank you for registering with Main Website Store."/>
3642
</actionGroup>
3743

3844
<!-- Add simple product to cart -->

app/code/Magento/Customer/Test/Mftf/ActionGroup/StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<annotations>
1313
<description>Clicks on the Storefront Header 'Create Account' link.</description>
1414
</annotations>
15-
15+
16+
<waitForPageLoad stepKey="waitForCreateAccountButtonIsActive"/>
1617
<click stepKey="clickCreateAccountButton" selector="{{StorefrontCustomerCreateFormSection.createAccountButton}}"/>
1718
<waitForPageLoad stepKey="waitForCustomerSaved"/>
1819
</actionGroup>

0 commit comments

Comments
 (0)