File tree Expand file tree Collapse file tree 3 files changed +21
-11
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 3 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 16
16
<fillField stepKey =" fillPassword" userInput =" {{Customer.password}}" selector =" {{StorefrontCustomerSignInFormSection.passwordField}}" />
17
17
<click stepKey =" clickSignInAccountButton" selector =" {{StorefrontCustomerSignInFormSection.signInAccountButton}}" />
18
18
</actionGroup >
19
- <actionGroup name =" LoginToStorefrontWithEmailAndPasswordActionGroup" >
20
- <arguments >
21
- <argument name =" email" type =" string" />
22
- <argument name =" password" type =" string" />
23
- </arguments >
24
- <amOnPage stepKey =" amOnSignInPage" url =" {{StorefrontCustomerSignInPage.url}}" />
25
- <fillField stepKey =" fillEmail" userInput =" {{email}}" selector =" {{StorefrontCustomerSignInFormSection.emailField}}" />
26
- <fillField stepKey =" fillPassword" userInput =" {{password}}" selector =" {{StorefrontCustomerSignInFormSection.passwordField}}" />
27
- <click stepKey =" clickSignInAccountButton" selector =" {{StorefrontCustomerSignInFormSection.signInAccountButton}}" />
28
- </actionGroup >
29
19
</actionGroups >
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" LoginToStorefrontWithEmailAndPassword" >
11
+ <arguments >
12
+ <argument name =" email" type =" string" />
13
+ <argument name =" password" type =" string" />
14
+ </arguments >
15
+ <amOnPage stepKey =" amOnSignInPage" url =" {{StorefrontCustomerSignInPage.url}}" />
16
+ <fillField stepKey =" fillEmail" userInput =" {{email}}" selector =" {{StorefrontCustomerSignInFormSection.emailField}}" />
17
+ <fillField stepKey =" fillPassword" userInput =" {{password}}" selector =" {{StorefrontCustomerSignInFormSection.passwordField}}" />
18
+ <click stepKey =" clickSignInAccountButton" selector =" {{StorefrontCustomerSignInFormSection.signInAccountButton}}" />
19
+ </actionGroup >
20
+ </actionGroups >
Original file line number Diff line number Diff line change 38
38
<click stepKey =" saveChange" selector =" {{StorefrontCustomerAccountInformationSection.saveButton}}" />
39
39
<see stepKey =" verifyMessage" userInput =" You saved the account information." selector =" {{StorefrontCustomerMessagesSection.successMessage}}" />
40
40
<actionGroup stepKey =" logout" ref =" StorefrontCustomerLogoutActionGroup" />
41
- <actionGroup stepKey =" loginWithNewPassword" ref =" LoginToStorefrontWithEmailAndPasswordActionGroup " >
41
+ <actionGroup stepKey =" loginWithNewPassword" ref =" LoginToStorefrontWithEmailAndPassword " >
42
42
<argument name =" email" value =" $$customer.email$$" />
43
43
<argument name =" password" value =" $$customer.password$$#" />
44
44
</actionGroup >
You can’t perform that action at this time.
0 commit comments