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 1111 <section name =" AdminSystemAccountSection" >
1212 <element name =" interfaceLocale" type =" select" selector =" #interface_locale" />
1313 <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" />
1417 </section >
1518</sections >
Original file line number Diff line number Diff line change 1515 <click selector =" {{AdminMainActionsSection.save}}" stepKey =" clickSaveUser" />
1616 <waitForPageLoad stepKey =" waitForPageLoad" />
1717 <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" />
1919 <click selector =" {{AdminMainActionsSection.save}}" stepKey =" clickSaveUser1" />
2020 <waitForPageLoad stepKey =" waitForPageLoad1" />
2121 <scrollToTopOfPage stepKey =" scrollToTopOfPage" />
2727 <see selector =" {{AdminMessagesSection.success}}" userInput =" You saved the account." stepKey =" seeSuccessMessage" />
2828
2929 </actionGroup >
30- </actionGroups >
30+ </actionGroups >
31+
Original file line number Diff line number Diff line change 1414 <click selector =" {{AdminEditUserSection.saveButton}}" stepKey =" clickSaveUser" />
1515 <waitForPageLoad stepKey =" waitForPageLoad" />
1616 <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" />
1818 <click selector =" {{AdminEditUserSection.saveButton}}" stepKey =" clickSaveUser1" />
1919 <waitForPageLoad stepKey =" waitForPageLoad1" />
2020 <scrollToTopOfPage stepKey =" scrollToTopOfPage" />
2121 <see userInput =" The password entered for the current user is invalid. Verify the password and try again." stepKey =" seeErrorMessage" />
2222 <fillField selector =" {{AdminEditUserSection.passwordTextField}}" userInput =" 123123aaa" stepKey =" enterPassword1" />
2323 <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" />
2525 <click selector =" {{AdminEditUserSection.saveButton}}" stepKey =" clickSaveUser2" />
2626 <waitForPageLoad stepKey =" waitForPageLoad2" />
2727 <see userInput =" You saved the user." stepKey =" seeSuccessMessage" />
2828
2929 </actionGroup >
30- </actionGroups >
30+ </actionGroups >
31+
You can’t perform that action at this time.
0 commit comments