File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed
Backend/Test/Mftf/ActionGroup
User/Test/Mftf/ActionGroup Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 12
12
<arguments >
13
13
<argument name =" user" type =" entity" />
14
14
</arguments >
15
- <click selector =" {{AdminUserGridSection.resetButton}}" stepKey =" resetGridFilter" />
15
+ <click selector =" {{AdminUserGridSection.resetButton}}" stepKey =" resetGridFilter" />
16
16
<waitForPageLoad stepKey =" waitForFiltersReset" time =" 15" />
17
- <fillField selector =" {{AdminUserGridSection.usernameFilterTextField}}" userInput =" {{user.username}}" stepKey =" enterUserName" />
18
- <click selector =" {{AdminUserGridSection.searchButton}}" stepKey =" clickSearch" />
17
+ <fillField selector =" {{AdminUserGridSection.usernameFilterTextField}}" userInput =" {{user.username}}" stepKey =" enterUserName" />
18
+ <click selector =" {{AdminUserGridSection.searchButton}}" stepKey =" clickSearch" />
19
19
<waitForPageLoad stepKey =" waitForGridToLoad" time =" 15" />
20
- <see selector =" {{AdminUserGridSection.usernameInFirstRow}}" userInput =" {{user.username}}" stepKey =" seeUser" />
20
+ <see selector =" {{AdminUserGridSection.usernameInFirstRow}}" userInput =" {{user.username}}" stepKey =" seeUser" />
21
21
</actionGroup >
22
22
</actionGroups >
Original file line number Diff line number Diff line change 9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<actionGroup name =" AssertUserRoleRestrictedAccessActionGroup" >
12
- <see selector =" {{AdminHeaderSection.pageHeading}}" userInput =" Sorry, you need permissions to view this content." stepKey =" seeErrorMessage" />
12
+ <see selector =" {{AdminHeaderSection.pageHeading}}" userInput =" Sorry, you need permissions to view this content." stepKey =" seeErrorMessage" />
13
13
</actionGroup >
14
14
</actionGroups >
Original file line number Diff line number Diff line change 11
11
<arguments >
12
12
<argument name =" user" type =" entity" />
13
13
</arguments >
14
- <amOnPage url =" {{AdminUsersPage.url}}" stepKey =" navigateToUserGrid" />
15
- <fillField selector =" {{AdminUserGridSection.usernameFilterTextField}}" userInput =" {{user.username}}" stepKey =" enterUserName" />
16
- <click selector =" {{AdminUserGridSection.searchButton}}" stepKey =" clickSearch" />
14
+ <amOnPage url =" {{AdminUsersPage.url}}" stepKey =" navigateToUserGrid" />
15
+ <fillField selector =" {{AdminUserGridSection.usernameFilterTextField}}" userInput =" {{user.username}}" stepKey =" enterUserName" />
16
+ <click selector =" {{AdminUserGridSection.searchButton}}" stepKey =" clickSearch" />
17
17
<waitForPageLoad stepKey =" waitForGridToLoad" time =" 15" />
18
- <see selector =" {{AdminUserGridSection.usernameInFirstRow}}" userInput =" {{user.username}}" stepKey =" seeUser" />
18
+ <see selector =" {{AdminUserGridSection.usernameInFirstRow}}" userInput =" {{user.username}}" stepKey =" seeUser" />
19
19
<click selector =" {{AdminUserGridSection.searchResultFirstRow}}" stepKey =" openUserEdit" />
20
20
<waitForPageLoad stepKey =" waitForUserEditPageLoad" time =" 15" />
21
21
Original file line number Diff line number Diff line change 11
11
<arguments >
12
12
<argument name =" role" type =" entity" />
13
13
</arguments >
14
- <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_ENV.MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterThePassword" />
14
+ <fillField selector =" {{AdminEditUserSection.currentPasswordField}}" userInput =" {{_ENV.MAGENTO_ADMIN_PASSWORD}}" stepKey =" enterThePassword" />
15
15
<scrollToTopOfPage stepKey =" scrollToTop" />
16
16
<waitForPageLoad stepKey =" waitForPageScrollToTop" time =" 15" />
17
17
<click selector =" {{AdminNewUserFormSection.userRoleTab}}" stepKey =" openUserRoleTab" />
18
18
<waitForPageLoad stepKey =" waitForUserRoleTabOpened" />
19
- <click selector =" {{AdminNewUserFormSection.resetFilter}}" stepKey =" resetGridFilter" />
20
- <waitForPageLoad stepKey =" waitForFiltersReset" />
21
- <fillField selector =" {{AdminNewUserFormSection.roleFilterField}}" userInput =" {{role.name}}" stepKey =" fillRoleFilterField" />
22
- <click selector =" {{AdminNewUserFormSection.search}}" stepKey =" clickSearchButton" />
23
- <waitForPageLoad stepKey =" waitForFiltersApplied" />
19
+ <click selector =" {{AdminNewUserFormSection.resetFilter}}" stepKey =" resetGridFilter" />
20
+ <waitForPageLoad stepKey =" waitForFiltersReset" />
21
+ <fillField selector =" {{AdminNewUserFormSection.roleFilterField}}" userInput =" {{role.name}}" stepKey =" fillRoleFilterField" />
22
+ <click selector =" {{AdminNewUserFormSection.search}}" stepKey =" clickSearchButton" />
23
+ <waitForPageLoad stepKey =" waitForFiltersApplied" />
24
24
<checkOption selector =" {{AdminNewUserFormSection.roleRadiobutton(role.name)}}" stepKey =" assignRole" />
25
25
</actionGroup >
26
26
</actionGroups >
You can’t perform that action at this time.
0 commit comments