File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Backend/Test/Mftf/Section
Security/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11
11
<section name =" AdminSystemAccountSection" >
12
12
<element name =" interfaceLocale" type =" select" selector =" #interface_locale" />
13
13
<element name =" currentPassword" type =" text" selector =" #current_password" />
14
+ <element name =" username" type =" text" selector =" #username" />
15
+ <element name =" newPassword" type =" text" selector =" #password" />
16
+ <element name =" passwordConfirmation" type =" text" selector =" #confirmation" />
14
17
</section >
15
18
</sections >
Original file line number Diff line number Diff line change 15
15
<click selector =" {{AdminMainActionsSection.save}}" stepKey =" clickSaveUser" />
16
16
<waitForPageLoad stepKey =" waitForPageLoad" />
17
17
<see userInput =" This is a required field." stepKey =" seeRequiredField1" />
18
- <fillField selector =" {{AdminSystemAccountSection.currentPassword}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}Invalid" stepKey =" fillWrongPassword" />
18
+ <fillField selector =" {{AdminSystemAccountSection.currentPassword}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}Invalid" stepKey =" fillWrongPassword" />
19
19
<click selector =" {{AdminMainActionsSection.save}}" stepKey =" clickSaveUser1" />
20
20
<waitForPageLoad stepKey =" waitForPageLoad1" />
21
21
<scrollToTopOfPage stepKey =" scrollToTopOfPage" />
27
27
<see selector =" {{AdminMessagesSection.success}}" userInput =" You saved the account." stepKey =" seeSuccessMessage" />
28
28
29
29
</actionGroup >
30
- </actionGroups >
30
+ </actionGroups >
31
+
Original file line number Diff line number Diff line change 14
14
<click selector =" {{AdminEditUserSection.saveButton}}" stepKey =" clickSaveUser" />
15
15
<waitForPageLoad stepKey =" waitForPageLoad" />
16
16
<see userInput =" This is a required field." stepKey =" seeRequiredField" />
17
- <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}Invalid" stepKey =" enterWrongPassword" />
17
+ <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}Invalid" stepKey =" enterWrongPassword" />
18
18
<click selector =" {{AdminEditUserSection.saveButton}}" stepKey =" clickSaveUser1" />
19
19
<waitForPageLoad stepKey =" waitForPageLoad1" />
20
20
<scrollToTopOfPage stepKey =" scrollToTopOfPage" />
21
21
<see userInput =" The password entered for the current user is invalid. Verify the password and try again." stepKey =" seeErrorMessage" />
22
22
<fillField selector =" {{AdminEditUserSection.passwordTextField}}" userInput =" 123123aaa" stepKey =" enterPassword1" />
23
23
<fillField selector =" {{AdminEditUserSection.pwConfirmationTextField}}" userInput =" 123123aaa" stepKey =" confirmPassword1" />
24
- <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_ENV. MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterCurrentPassword" />
24
+ <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_CREDS.magento/ MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterCurrentPassword" />
25
25
<click selector =" {{AdminEditUserSection.saveButton}}" stepKey =" clickSaveUser2" />
26
26
<waitForPageLoad stepKey =" waitForPageLoad2" />
27
27
<see userInput =" You saved the user." stepKey =" seeSuccessMessage" />
28
28
29
29
</actionGroup >
30
- </actionGroups >
30
+ </actionGroups >
31
+
You can’t perform that action at this time.
0 commit comments