|
7 | 7 | -->
|
8 | 8 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9 | 9 | xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
|
10 |
| - <actionGroup name="AdminAssigningUserRoleActionGroup"> |
| 10 | + <actionGroup name="AdminAssignUserRoleActionGroup"> |
11 | 11 | <arguments>
|
12 | 12 | <argument name="user_restricted"/>
|
13 | 13 | <argument name="user_role" />
|
14 | 14 | </arguments>
|
15 | 15 | <amOnPage url="{{AdminUsersPage.url}}" stepKey="amOnAdminUsersPage"/>
|
| 16 | + <waitForPageLoad stepKey="wait1" time="10"/> |
16 | 17 | <fillField stepKey="fillUsernameSearch" selector="{{AdminUserGridSection.usernameFilterTextField}}" userInput="{{user_restricted.username}}"/>
|
17 | 18 | <click stepKey="clickSearchButton" selector="{{AdminUserGridSection.searchButton}}"/>
|
18 |
| - <waitForPageLoad stepKey="wait1" time="10"/> |
| 19 | + <waitForPageLoad stepKey="wait2" time="10"/> |
19 | 20 | <see stepKey="seeFoundUsername" selector="{{AdminUserGridSection.usernameInFirstRow}}" userInput="{{user_restricted.username}}"/>
|
20 | 21 | <click stepKey="clickFoundUsername" selector="{{AdminUserGridSection.searchResultFirstRow}}"/>
|
21 |
| - <waitForPageLoad stepKey="wait2" time="30"/> |
| 22 | + <waitForPageLoad stepKey="wait3" time="30"/> |
22 | 23 | <seeInField stepKey="seeUsernameInField" selector="{{AdminEditUserSection.usernameTextField}}" userInput="{{user_restricted.username}}"/>
|
23 | 24 | <fillField stepKey="fillCurrentPassword" selector="{{AdminEditUserSection.currentPasswordField}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
|
24 | 25 | <scrollToTopOfPage stepKey="scrollToTopOfPage" />
|
25 | 26 | <click stepKey="clickUserRoleTab" selector="{{AdminEditUserSection.userRoleTab}}"/>
|
26 |
| - |
27 | 27 | <fillField selector="{{AdminEditUserSection.roleNameFilterTextField}}" userInput="{{user_role.rolename}}" stepKey="fillRoleNameSearch"/>
|
28 | 28 | <click stepKey="clickSearchButtonUserRole" selector="{{AdminEditUserSection.searchButton}}"/>
|
29 |
| - <waitForPageLoad stepKey="wait3" time="10"/> |
| 29 | + <waitForPageLoad stepKey="wait4" time="10"/> |
30 | 30 | <see stepKey="seeFoundRoleName" selector="{{AdminEditUserSection.roleNameInFirstRow}}" userInput="{{user_role.rolename}}"/>
|
31 | 31 | <click stepKey="clickFoundRoleName" selector="{{AdminEditUserSection.searchResultFirstRow}}"/>
|
32 | 32 | <click stepKey="clickSaveButton" selector="{{AdminEditUserSection.saveButton}}"/>
|
33 |
| - <waitForPageLoad stepKey="wait4" time="10"/> |
| 33 | + <waitForPageLoad stepKey="wait5" time="10"/> |
34 | 34 | <see stepKey="saveUserSuccessMessage" selector="{{AdminUserGridSection.successMessage}}" userInput="You saved the user."/>
|
35 | 35 | </actionGroup>
|
36 | 36 | </actionGroups>
|
0 commit comments