Skip to content

Commit b53c075

Browse files
committed
MQE-1460: Deliver weekly PR
- Fixed StorefrontCheckTaxAddingValidVATIdTest
1 parent fef8466 commit b53c075

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
<fillField stepKey="fillZip" selector="{{StorefrontCustomerAddressSection.zip}}" userInput="{{Address.postcode}}"/>
7373
<click stepKey="saveAddress" selector="{{StorefrontCustomerAddressSection.saveAddress}}"/>
7474
</actionGroup>
75+
<!-- Fills State Field instead of selecting it-->
76+
<actionGroup name="EnterCustomerAddressInfoFillState" extends="EnterCustomerAddressInfo">
77+
<fillField stepKey="selectState" selector="{{StorefrontCustomerAddressSection.stateProvinceFill}}" userInput="{{Address.state}}"/>
78+
</actionGroup>
79+
7580
<actionGroup name="VerifyCustomerBillingAddress">
7681
<arguments>
7782
<argument name="address"/>

app/code/Magento/Customer/Test/Mftf/Section/StorefrontCustomerDashboardAccountInformationSection.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="StorefrontCustomerDashboardAccountInformationSection">
1212
<element name="ContactInformation" type="textarea" selector=".box.box-information .box-content"/>
13-
<element name="edit" type="link" selector=".action.edit" timeout="15"/>
14-
<element name="changePassword" type="link" selector=".action.change-password" timeout="15"/>
13+
<element name="edit" type="block" selector=".action.edit" timeout="15"/>
14+
<element name="changePassword" type="block" selector=".action.change-password" timeout="15"/>
1515
</section>
1616
<section name="StorefrontCustomerAddressSection">
1717
<element name="firstName" type="input" selector="#firstname"/>
@@ -22,6 +22,7 @@
2222
<element name="streetAddress2" type="input" selector="#street_2"/>
2323
<element name="city" type="input" selector="#city"/>
2424
<element name="stateProvince" type="select" selector="#region_id"/>
25+
<element name="stateProvinceFill" type="input" selector="#region"/>
2526
<element name="zip" type="input" selector="#zip"/>
2627
<element name="country" type="select" selector="#country"/>
2728
<element name="saveAddress" type="button" selector="[data-action='save-address']" timeout="30"/>

app/code/Magento/Customer/Test/Mftf/Test/StorefrontCheckTaxAddingValidVATIdTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</actionGroup>
7373

7474
<!--Go to My account > Address book-->
75-
<actionGroup ref="EnterCustomerAddressInfo" stepKey="enterAddressInfo">
75+
<actionGroup ref="EnterCustomerAddressInfoFillState" stepKey="enterAddressInfo">
7676
<argument name="Address" value="UK_Simple_Address"/>
7777
</actionGroup>
7878

0 commit comments

Comments
 (0)