File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed
app/code/Magento/Customer/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+ /**
4+ * Copyright © Magento, Inc. All rights reserved.
5+ * See COPYING.txt for license details.
6+ */
7+ -->
8+
9+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11+ <test name =" StorefrontLoginFormCheckDuplicateValidateMessageTest" >
12+ <annotations >
13+ <features value =" Customer" />
14+ <stories value =" Customer Login" />
15+ <title value =" Check duplicate Validate Message on Customer Login Form" />
16+ <description value =" Check duplicate Validate Message on Customer Login Form" />
17+ <severity value =" MAJOR" />
18+ <group value =" Customer" />
19+ </annotations >
20+
21+ <actionGroup ref =" StorefrontOpenCustomerLoginPageActionGroup" stepKey =" goToSignInPage" />
22+ <actionGroup ref =" StorefrontClickSignOnCustomerLoginFormActionGroup" stepKey =" clickSignInAccountButton" />
23+ <fillField userInput =" test@example.com" selector =" {{StorefrontCustomerSignInFormSection.emailField}}" stepKey =" fillValidEmailTest" />
24+ <actionGroup ref =" StorefrontClickSignOnCustomerLoginFormActionGroup" stepKey =" clickSignInAccountButtonTwo" />
25+ <fillField userInput =" " selector =" {{StorefrontCustomerSignInFormSection.emailField}}" stepKey =" fillEmailEmpty" />
26+ <!-- Double click submit -->
27+ <actionGroup ref =" StorefrontClickSignOnCustomerLoginFormActionGroup" stepKey =" clickSignInAccountButtonThree" />
28+ <actionGroup ref =" StorefrontClickSignOnCustomerLoginFormActionGroup" stepKey =" clickSignInAccountButtonFour" />
29+ <seeNumberOfElements userInput =" 1" selector =" {{StorefrontCustomerSignInFormSection.emailField}} ~ .mage-error" stepKey =" see1ValidateMessageForEmail" />
30+ </test >
31+ </tests >
Original file line number Diff line number Diff line change 10401040 // 'aria-describedby' should directly reference the error element
10411041 if ( describer ) {
10421042 selector = selector + ", #" + this . escapeCssMeta ( describer )
1043- . replace ( / \s + / g, ", #" ) ;
1043+ . replace ( / \s + / g, ", #" ) + ":visible" ;
10441044 }
10451045
10461046 return this
You can’t perform that action at this time.
0 commit comments