File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Customer/Test/Mftf/Section
User/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 19
19
<element name =" passwordTextField" type =" input" selector =" #user_password" />
20
20
<element name =" pwConfirmationTextField" type =" input" selector =" #user_confirmation" />
21
21
<element name =" currentPasswordField" type =" input" selector =" #user_current_password" />
22
+ <element name =" expireAtField" type =" input" selector =" #user_expires_at" />
22
23
<element name =" createdRoleInUserPage" type =" text" selector =" //tr//td[contains(text(), '{{arg}}')]" parameterized =" true" />
23
24
<element name =" userRoleTab" type =" button" selector =" #page_tabs_roles_section" />
24
25
<element name =" saveButton" type =" button" selector =" #save" />
Original file line number Diff line number Diff line change 26
26
<fillField selector =" {{AdminCreateUserSection.passwordTextField}}" userInput =" {{user.password}}" stepKey =" enterPassword" />
27
27
<fillField selector =" {{AdminCreateUserSection.pwConfirmationTextField}}" userInput =" {{user.password}}" stepKey =" confirmPassword" />
28
28
<fillField selector =" {{AdminCreateUserSection.currentPasswordField}}" userInput =" {{_ENV.MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterCurrentPassword" />
29
+ <!-- Generate default value -->
30
+ <generateDate date =" +75 year" format =" m/j/Y g:i A" stepKey =" generateExpireDate" />
31
+ <fillField selector =" {{AdminCreateUserSection.expireAtField}}" userInput =" {$generateExpireDate}" stepKey =" enterExpireAtField" />
29
32
<scrollToTopOfPage stepKey =" scrollToTopOfPage" />
30
33
<click stepKey =" clickUserRole" selector =" {{AdminCreateUserSection.userRoleTab}}" />
31
34
<click stepKey =" chooseRole" selector =" {{AdminStoreSection.createdRoleInUserPage(role.name)}}" />
You can’t perform that action at this time.
0 commit comments