File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Customer/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
- <actionGroup name =" AssertCustomerHasNoOtherAddressesActionGroup " >
10
+ <actionGroup name =" AssertStoreFrontCustomerHasNoOtherAddressesActionGroup " >
11
11
<annotations >
12
12
<description >Verifies customer no additional address in address book</description >
13
13
</annotations >
Original file line number Diff line number Diff line change 22
22
<createData entity =" ApiSimpleProduct" stepKey =" Product" >
23
23
<requiredEntity createDataKey =" Category" />
24
24
</createData >
25
+ <createData entity =" Simple_Customer_Without_Address" stepKey =" Customer" />
25
26
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
26
- <actionGroup ref =" StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey =" openCreateAccountPage" />
27
- <actionGroup ref =" StorefrontFillCustomerAccountCreationFormActionGroup" stepKey =" fillCreateAccountForm" >
28
- <argument name =" customer" value =" CustomerEntityOne" />
27
+ <actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" loginToStorefrontAccount" >
28
+ <argument name =" Customer" value =" $Customer$" />
29
29
</actionGroup >
30
- <actionGroup ref =" StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup" stepKey =" submitCreateAccountForm" />
31
30
</before >
32
31
<after >
33
32
<actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" customerLogout" />
34
- <actionGroup ref =" DeleteCustomerFromAdminActionGroup" stepKey =" deleteCustomer" />
35
33
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" adminLogout" />
36
34
<deleteData createDataKey =" Product" stepKey =" deleteProduct" />
37
35
<deleteData createDataKey =" Category" stepKey =" deleteCategory" />
36
+ <deleteData createDataKey =" Customer" stepKey =" deleteCustomer" />
38
37
</after >
39
38
40
39
<!-- Create order for registered customer -->
53
52
<actionGroup ref =" AdminReorderActionGroup" stepKey =" reorder" />
54
53
55
54
<!-- Assert no additional addresses saved -->
56
- <actionGroup ref =" AssertCustomerHasNoOtherAddressesActionGroup " stepKey =" assertAddresses" />
55
+ <actionGroup ref =" AssertStoreFrontCustomerHasNoOtherAddressesActionGroup " stepKey =" assertAddresses" />
57
56
</test >
58
57
</tests >
You can’t perform that action at this time.
0 commit comments