File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
app/code/Magento/Customer/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +31
-0
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 >
You can’t perform that action at this time.
0 commit comments