Skip to content

Commit 78f4694

Browse files
#30672: Initialize authentication popup modal only when needed - MFTF fix.
1 parent bfc6e76 commit 78f4694

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/AssertStorefrontGuestCheckoutShippingAddressFormPrefilledActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<argument name="address" defaultValue="US_Address_TX" type="entity"/>
1818
</arguments>
1919

20-
<grabValueFrom selector="{{CheckoutShippingSection.email}}" stepKey="email"/>
20+
<grabValueFrom selector="{{CheckoutShippingSection.emailAddress}}" stepKey="email"/>
2121
<grabValueFrom selector="{{CheckoutShippingSection.firstName}}" stepKey="firstname"/>
2222
<grabValueFrom selector="{{CheckoutShippingSection.lastName}}" stepKey="lastname"/>
2323
<grabValueFrom selector="{{CheckoutShippingSection.street}}" stepKey="street"/>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1010
<section name="StorefrontCustomerSignInFormSection">
11-
<element name="emailField" type="input" selector="fieldset.login #email"/>
12-
<element name="passwordField" type="input" selector="fieldset.login #pass"/>
11+
<element name="emailField" type="input" selector="input[name='login[username]']"/>
12+
<element name="passwordField" type="input" selector="input[name='login[password]']"/>
1313
<element name="showPasswordCheckbox" type="input" selector="#show-password"/>
1414
<element name="signInAccountButton" type="button" selector="fieldset.login #send2" timeout="30"/>
1515
<element name="forgotPasswordLink" type="button" selector=".action.remind" timeout="10"/>

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
<argument name="customer" value="$$customer$$"/>
3030
</actionGroup>
3131
<actionGroup ref="StorefrontLoginFormClickShowPasswordActionGroup" stepKey="clickShowPasswordCheckbox"/>
32-
<actionGroup ref="AssertLoginFormPasswordFieldActionGroup" stepKey="AssertPasswordField"/>
32+
<actionGroup ref="AssertLoginFormPasswordFieldActionGroup" stepKey="AssertPasswordField">
33+
<argument name="passwordFieldType" value="password"/>
34+
</actionGroup>
3335
</test>
3436
</tests>

0 commit comments

Comments
 (0)