Skip to content

Commit ab83afd

Browse files
authored
ACQE-7276 | Mainline PR deployment
Test Fix
1 parent 912db17 commit ab83afd

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

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

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,23 @@
77

88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10-
<actionGroup name="EnterAddressDetailsActionGroup" extends="EnterCustomerAddressInfoActionGroup">
10+
<actionGroup name="EnterAddressDetailsActionGroup">
1111
<annotations>
12-
<description>Removed specific page. Fills in the required details </description>
12+
<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>
1313
</annotations>
14-
15-
<remove keyForRemoval="goToAddressPage"/>
16-
<remove keyForRemoval="saveAddress"/>
14+
<arguments>
15+
<argument name="Address"/>
16+
</arguments>
17+
<waitForPageLoad stepKey="waitForAddressPage"/>
18+
<fillField stepKey="fillFirstName" selector="{{StorefrontCustomerCreateAccountSection.firstName}}" userInput="{{Address.firstname}}"/>
19+
<fillField stepKey="fillLastName" selector="{{StorefrontCustomerCreateAccountSection.lastName}}" userInput="{{Address.lastname}}"/>
20+
<fillField stepKey="fillCompany" selector="{{StorefrontCustomerCreateAccountSection.company}}" userInput="{{Address.company}}"/>
21+
<fillField stepKey="fillPhoneNumber" selector="{{StorefrontCustomerCreateAccountSection.phoneNumber}}" userInput="{{Address.telephone}}"/>
22+
<fillField stepKey="fillStreetAddress1" selector="{{StorefrontCustomerCreateAccountSection.streetAddress1}}" userInput="{{Address.street[0]}}"/>
23+
<fillField stepKey="fillStreetAddress2" selector="{{StorefrontCustomerCreateAccountSection.streetAddress2}}" userInput="{{Address.street[1]}}"/>
24+
<fillField stepKey="fillCityName" selector="{{StorefrontCustomerCreateAccountSection.city}}" userInput="{{Address.city}}"/>
25+
<selectOption stepKey="selectCounty" selector="{{StorefrontCustomerCreateAccountSection.country}}" userInput="{{Address.country_id}}"/>
26+
<selectOption stepKey="selectState" selector="{{StorefrontCustomerCreateAccountSection.stateProvince}}" userInput="{{Address.state}}"/>
27+
<fillField stepKey="fillZip" selector="{{StorefrontCustomerCreateAccountSection.zip}}" userInput="{{Address.postcode}}"/>
1728
</actionGroup>
1829
</actionGroups>

0 commit comments

Comments
 (0)