File tree Expand file tree Collapse file tree 3 files changed +11
-17
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 154
154
<waitForPageLoad stepKey =" waitForRegistered" after =" clickCreateAccountButton" />
155
155
<remove keyForRemoval =" seeThankYouMessage" />
156
156
</actionGroup >
157
-
158
- <actionGroup name =" SignUpNewCustomerNoAssertions" extends =" SignUpNewUserFromStorefrontActionGroup" >
159
- <remove keyForRemoval =" seeThankYouMessage" />
160
- <remove keyForRemoval =" seeFirstName" />
161
- <remove keyForRemoval =" seeLastName" />
162
- <remove keyForRemoval =" seeEmail" />
163
- </actionGroup >
164
- </actionGroups >
157
+ </actionGroups >
Original file line number Diff line number Diff line change 33
33
<data key =" disable_auto_group_change" >0</data >
34
34
<!-- requiredEntity type="extension_attribute">ExtensionAttributeSimple</requiredEntity-->
35
35
</entity >
36
- <entity name =" CustomerEntityOneNotUniqueEmail" extends =" CustomerEntityOne" type =" customer" >
37
- <data key =" email" >test@email.com</data >
38
- </entity >
39
36
<entity name =" Simple_US_Customer" type =" customer" >
40
37
<data key =" group_id" >1</data >
41
38
<data key =" default_billing" >true</data >
Original file line number Diff line number Diff line change 17
17
<group value =" mtf_migrated" />
18
18
</annotations >
19
19
<before >
20
- <createData stepKey = " customer " entity = " CustomerEntityOneNotUniqueEmail " />
20
+ <createData entity = " Simple_US_Customer " stepKey = " customer " />
21
21
</before >
22
22
<after >
23
- <deleteData stepKey = " deleteCustomer " createDataKey = " customer " />
23
+ <deleteData createDataKey = " customer " stepKey = " deleteCustomer " />
24
24
</after >
25
25
26
- <actionGroup ref =" SignUpNewCustomerNoAssertions" stepKey =" SignUpNewUser" >
27
- <argument name =" Customer" value =" CustomerEntityOneNotUniqueEmail" />
26
+ <actionGroup ref =" StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey =" openCreateAccountPage" />
27
+ <actionGroup ref =" StorefrontFillCustomerAccountCreationFormActionGroup" stepKey =" fillCreateAccountForm" >
28
+ <argument name =" customer" value =" $$customer$$" />
29
+ </actionGroup >
30
+ <actionGroup ref =" StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup" stepKey =" submitCreateAccountForm" />
31
+ <actionGroup ref =" AssertMessageCustomerCreateAccountActionGroup" stepKey =" seeErrorMessage" >
32
+ <argument name =" messageType" value =" error" />
33
+ <argument name =" message" value =" There is already an account with this email address." />
28
34
</actionGroup >
29
- <waitForElementVisible selector =" {{StorefrontCustomerMessagesSection.errorMessage}}" stepKey =" waitForErrorMessage" />
30
- <see stepKey =" seeErrorMessage" userInput =" There is already an account with this email address." selector =" {{StorefrontCustomerMessagesSection.errorMessage}}" />
31
35
</test >
32
36
</tests >
You can’t perform that action at this time.
0 commit comments