Skip to content

Commit c854a14

Browse files
committed
MC-41850: Contact form error with non-breaking space at the end of the email address
1 parent 381fc1f commit c854a14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Contact/Test/Mftf/ActionGroup/AssertEmailTrimmedInInputActionGroup.xml renamed to app/code/Magento/Contact/Test/Mftf/ActionGroup/StorefrontAssertEmailAddressTrimmedActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11-
<actionGroup name="AssertEmailTrimmedInInputActionGroup">
11+
<actionGroup name="StorefrontAssertEmailAddressTrimmedActionGroup">
1212
<annotations>
13-
<description>Validated that the provided email address is trimmed from spaces in the given input.</description>
13+
<description>Validate that the provided email address is trimmed from spaces in the given input.</description>
1414
</annotations>
1515
<arguments>
1616
<argument name="inputSelector" type="string" defaultValue="input[name='email']"/>

app/code/Magento/Contact/Test/Mftf/Test/StorefrontVerifyContactUsNbspTrimFromEmailInputTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<argument name="contactUsData" value="DefaultContactUsData" />
2828
</actionGroup>
2929

30-
<actionGroup ref="AssertEmailTrimmedInInputActionGroup" stepKey="assertEmailWasTrimmedInTheInput">
30+
<actionGroup ref="StorefrontAssertEmailAddressTrimmedActionGroup" stepKey="assertEmailWasTrimmedInTheInput">
3131
<argument name="emailAddressWithSpaces" value="{{Simple_US_Customer_Nbsp_In_Email.email}}" />
3232
<argument name="inputSelector" value="{{StorefrontContactUsFormSection.emailField}}" />
3333
</actionGroup>

0 commit comments

Comments
 (0)