Skip to content

Commit 7d3788e

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-197: JS validation error doesn't work for the 2nd line of the street attribute
1 parent 2b4bb70 commit 7d3788e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
<argument name="maximumTextLength" type="string" defaultValue="255"/>
1919
</arguments>
2020
<!--Update customer attribute properties-->
21-
<amOnPage url="{{CustomerAttributePrefixPage.url(CustomerAddressStreetAttribute.attribute_code)}}" stepKey="goToStreet"/>
22-
<waitForPageLoad stepKey="waitForPrefixPageOpened"/>
2321
<fillField selector="{{AdminReturnAttributePropertiesSection.minTextLength}}" userInput="{{minimumTextLength}}" stepKey="minimumTextLength"/>
2422
<fillField selector="{{AdminReturnAttributePropertiesSection.maxTextLength}}" userInput="{{maximumTextLength}}" stepKey="maximumTextLength"/>
2523
<click selector="{{CustomerAddressPrefixSection.save}}" stepKey="ClickToSave"/>

app/code/Magento/Customer/Test/Mftf/Test/StorefrontUpdateCustomerAddressTest/StorefrontUpdateCustomerShippingAddressFromBlockFailedTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,16 @@
2424
</before>
2525
<after>
2626
<deleteData createDataKey="createCustomer" stepKey="DeleteCustomer"/>
27+
<amOnPage url="{{CustomerAttributePrefixPage.url(CustomerAddressStreetAttribute.attribute_code)}}" stepKey="goToStreet"/>
28+
<waitForPageLoad stepKey="waitForPrefixPageOpened"/>
2729
<actionGroup ref="AdminEditCustomerAddressAttributePropertiesActionGroup" stepKey="editCustomerAddressPropertiesRollBack">
2830
<argument name="minimumTextLength" value="1"/>
2931
<argument name="maximumTextLength" value="255"/>
3032
</actionGroup>
3133
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>
3234
</after>
35+
<amOnPage url="{{CustomerAttributePrefixPage.url(CustomerAddressStreetAttribute.attribute_code)}}" stepKey="goToStreet"/>
36+
<waitForPageLoad stepKey="waitForPrefixPageOpened"/>
3337
<actionGroup ref="AdminEditCustomerAddressAttributePropertiesActionGroup" stepKey="editCustomerAddressProperties">
3438
<argument name="minimumTextLength" value="1"/>
3539
<argument name="maximumTextLength" value="10"/>

0 commit comments

Comments
 (0)