Skip to content

Commit c6c52d6

Browse files
committed
Fix issue with failing Customer tests for B2B
1 parent 171215d commit c6c52d6

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

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

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
1212
-->
1313
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1414
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
15-
<actionGroup name="AdminCreateCustomerWithWebSiteAndGroup">
15+
<actionGroup name="AdminCreateCustomerWithWebSiteAndGroup" deprecated="Use `AdminCreateCustomerWithWebSiteAndGroupActionGroup` instead">
1616
<annotations>
1717
<description>Goes to the Customer grid page. Click on 'Add New Customer'. Fills provided Customer Data. Fill provided Customer Address data. Assigns Product to Website and Store View. Clicks on Save.</description>
1818
</annotations>
@@ -22,7 +22,6 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
2222
<argument name="storeView" type="string" defaultValue="{{_defaultStore.name}}"/>
2323
</arguments>
2424

25-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `AdminCreateCustomerWithWebSiteAndGroupActionGroup` instead -->
2625
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="goToCustomersPage"/>
2726
<click stepKey="addNewCustomer" selector="{{AdminCustomerGridMainActionsSection.addNewCustomer}}"/>
2827
<selectOption stepKey="selectWebSite" selector="{{AdminCustomerAccountInformationSection.associateToWebsite}}" userInput="{{website}}"/>
@@ -37,37 +36,34 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
3736
<see stepKey="seeSuccessMessage" userInput="You saved the customer."/>
3837
</actionGroup>
3938

40-
<actionGroup name="AdminEditCustomerAddressNoZipNoState" extends="AdminEditCustomerAddressesFrom">
39+
<actionGroup name="AdminEditCustomerAddressNoZipNoState" extends="AdminEditCustomerAddressesFrom" deprecated="Use `AdminEditCustomerAddressNoZipNoStateActionGroup` instead">
4140
<annotations>
4241
<description>EXTENDS: AdminEditCustomerAddressesFrom. Removes 'selectState' and 'fillZipCode'. Clicks on 'Set Default' for Billing/Shipping.</description>
4342
</annotations>
4443

45-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `AdminEditCustomerAddressNoZipNoStateActionGroup` instead -->
4644
<remove keyForRemoval="selectState"/>
4745
<remove keyForRemoval="fillZipCode"/>
4846
<click selector="{{AdminEditCustomerAddressesSection.defaultBillingAddressButton}}" stepKey="setDefaultBilling" before="setDefaultShipping"/>
4947
<click selector="{{AdminEditCustomerAddressesSection.defaultShippingAddressButton}}" stepKey="setDefaultShipping" before="fillPrefixName"/>
5048
</actionGroup>
5149

52-
<actionGroup name="AdminEditCustomerAddressSetDefaultShippingAndBilling" extends="AdminEditCustomerAddressesFrom">
50+
<actionGroup name="AdminEditCustomerAddressSetDefaultShippingAndBilling" extends="AdminEditCustomerAddressesFrom" deprecated="Use `AdminEditCustomerAddressSetDefaultShippingAndBillingActionGroup` instead">
5351
<annotations>
5452
<description>EXTENDS: AdminEditCustomerAddressesFrom. Removes 'selectState' and 'fillZipCode'.</description>
5553
</annotations>
5654

57-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `AdminEditCustomerAddressSetDefaultShippingAndBillingActionGroup` instead -->
5855
<click selector="{{AdminEditCustomerAddressesSection.defaultBillingAddressButton}}" stepKey="setDefaultBilling" before="setDefaultShipping"/>
5956
<click selector="{{AdminEditCustomerAddressesSection.defaultShippingAddressButton}}" stepKey="setDefaultShipping" before="fillPrefixName"/>
6057
</actionGroup>
6158

62-
<actionGroup name="EnterCustomerAddressInfo">
59+
<actionGroup name="EnterCustomerAddressInfo" deprecated="Use `EnterCustomerAddressInfoActionGroup` instead">
6360
<annotations>
6461
<description>Fills in the provided Customer details (First/Last Name, Company, Phone # and Address) on the Admin Customer creation/edit page. Clicks on the Save button.</description>
6562
</annotations>
6663
<arguments>
6764
<argument name="Address"/>
6865
</arguments>
6966

70-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `EnterCustomerAddressInfoActionGroup` instead -->
7167
<amOnPage url="customer/address/new/" stepKey="goToAddressPage"/>
7268
<waitForPageLoad stepKey="waitForAddressPage"/>
7369
<fillField stepKey="fillFirstName" selector="{{StorefrontCustomerAddressSection.firstName}}" userInput="{{Address.firstname}}"/>
@@ -84,16 +80,15 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
8480
</actionGroup>
8581

8682
<!-- Fills State Field instead of selecting it-->
87-
<actionGroup name="EnterCustomerAddressInfoFillState" extends="EnterCustomerAddressInfo">
83+
<actionGroup name="EnterCustomerAddressInfoFillState" extends="EnterCustomerAddressInfo" deprecated="Use `CreateSystemBackupActionGroup` instead">
8884
<annotations>
8985
<description>EXTENDS: EnterCustomerAddressInfo. Fills the State field.</description>
9086
</annotations>
9187

92-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `CreateSystemBackupActionGroup` instead -->
9388
<fillField stepKey="selectState" selector="{{StorefrontCustomerAddressSection.stateProvinceFill}}" userInput="{{Address.state}}"/>
9489
</actionGroup>
9590

96-
<actionGroup name="VerifyCustomerBillingAddress">
91+
<actionGroup name="VerifyCustomerBillingAddress" deprecated="Use `VerifyCustomerBillingAddressActionGroup` instead">
9792
<annotations>
9893
<description>Goes to the Storefront Customer Dashboard Address area. Validates that the provided Customer Billing Address is present and correct on the Storefront Customer Dashboard Address section.</description>
9994
</annotations>
@@ -104,7 +99,6 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
10499
<amOnPage url="customer/address/index/" stepKey="goToAddressPage"/>
105100
<waitForPageLoad stepKey="waitForAddressPageLoad"/>
106101

107-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `VerifyCustomerBillingAddressActionGroup` instead -->
108102
<see selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" userInput="{{address.firstname}} {{address.lastname}}" stepKey="seeAssertCustomerDefaultBillingAddressFirstnameAndLastname"/>
109103
<see selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" userInput="{{address.company}}" stepKey="seeAssertCustomerDefaultBillingAddressCompany"/>
110104
<see selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" userInput="{{address.street[0]}}" stepKey="seeAssertCustomerDefaultBillingAddressStreet"/>
@@ -114,15 +108,14 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
114108
<see selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" userInput="{{address.telephone}}" stepKey="seeAssertCustomerDefaultBillingAddressTelephone"/>
115109
</actionGroup>
116110

117-
<actionGroup name="VerifyCustomerShippingAddress">
111+
<actionGroup name="VerifyCustomerShippingAddress" deprecated="Use `VerifyCustomerShippingAddressActionGroup` instead">
118112
<annotations>
119113
<description>Goes to the Storefront Customer Dashboard Address area. Validates that the provided Customer Shipping Address is present and correct.</description>
120114
</annotations>
121115
<arguments>
122116
<argument name="address"/>
123117
</arguments>
124118

125-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `VerifyCustomerShippingAddressActionGroup` instead -->
126119
<amOnPage url="customer/address/index/" stepKey="goToAddressPage"/>
127120
<waitForPageLoad stepKey="waitForAddressPageLoad"/>
128121
<see selector="{{StorefrontCustomerAddressesSection.defaultShippingAddress}}" userInput="{{address.firstname}} {{address.lastname}}" stepKey="seeAssertCustomerDefaultShippingAddressFirstnameAndLastname"/>
@@ -134,15 +127,14 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
134127
<see selector="{{StorefrontCustomerAddressesSection.defaultShippingAddress}}" userInput="{{address.telephone}}" stepKey="seeAssertCustomerDefaultShippingAddressTelephone"/>
135128
</actionGroup>
136129

137-
<actionGroup name="VerifyCustomerBillingAddressWithState">
130+
<actionGroup name="VerifyCustomerBillingAddressWithState" deprecated="Use `VerifyCustomerBillingAddressWithStateActionGroup` instead">
138131
<annotations>
139132
<description>Goes to the Storefront Customer Dashboard Address area. Validates that the provided Customer Billing Address, including the State, is present and correct.</description>
140133
</annotations>
141134
<arguments>
142135
<argument name="address"/>
143136
</arguments>
144137

145-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `VerifyCustomerBillingAddressWithStateActionGroup` instead -->
146138
<amOnPage url="customer/address/index/" stepKey="goToAddressPage"/>
147139
<waitForPageLoad stepKey="waitForAddressPageLoad"/>
148140
<see selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" userInput="{{address.firstname}} {{address.lastname}}" stepKey="seeAssertCustomerDefaultBillingAddressFirstnameAndLastname"/>
@@ -154,15 +146,14 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
154146
<see selector="{{StorefrontCustomerAddressesSection.defaultBillingAddress}}" userInput="{{address.telephone}}" stepKey="seeAssertCustomerDefaultBillingAddressTelephone"/>
155147
</actionGroup>
156148

157-
<actionGroup name="VerifyCustomerShippingAddressWithState">
149+
<actionGroup name="VerifyCustomerShippingAddressWithState" deprecated="Use `VerifyCustomerShippingAddressWithStateActionGroup` instead">
158150
<annotations>
159151
<description>Goes to the Storefront Customer Dashboard Address area. Validates that the provided Customer Shipping Address, including the State, is present and correct.</description>
160152
</annotations>
161153
<arguments>
162154
<argument name="address"/>
163155
</arguments>
164156

165-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `VerifyCustomerShippingAddressWithStateActionGroup` instead -->
166157
<amOnPage url="customer/address/index/" stepKey="goToAddressPage"/>
167158
<waitForPageLoad stepKey="waitForAddressPageLoad"/>
168159
<see selector="{{StorefrontCustomerAddressesSection.defaultShippingAddress}}" userInput="{{address.firstname}} {{address.lastname}}" stepKey="seeAssertCustomerDefaultShippingAddressFirstnameAndLastname"/>
@@ -174,15 +165,14 @@ NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore
174165
<see selector="{{StorefrontCustomerAddressesSection.defaultShippingAddress}}" userInput="{{address.telephone}}" stepKey="seeAssertCustomerDefaultShippingAddressTelephone"/>
175166
</actionGroup>
176167

177-
<actionGroup name="VerifyCustomerNameOnFrontend">
168+
<actionGroup name="VerifyCustomerNameOnFrontend" deprecated="Use `VerifyCustomerNameOnFrontendActionGroup` instead">
178169
<annotations>
179170
<description>Goes to the Storefront Customer Dashboard page. Validates that the Customer First/Last Name is present and correct.</description>
180171
</annotations>
181172
<arguments>
182173
<argument name="customer"/>
183174
</arguments>
184175

185-
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `VerifyCustomerNameOnFrontendActionGroup` instead -->
186176
<amOnPage url="customer/account/edit/" stepKey="goToAddressPage"/>
187177
<waitForPageLoad stepKey="waitForAddressPageLoad"/>
188178
<click selector="{{StorefrontCustomerSidebarSection.sidebarCurrentTab('Account Information')}}" stepKey="clickAccountInformationFromSidebarCurrentTab"/>

0 commit comments

Comments
 (0)