File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/code/Magento/User/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11
11
<annotations >
12
12
<description >Goes to the Backend Custom User role page. Selecting required elements on roles resource page.</description >
13
13
</annotations >
14
-
14
+ <scrollTo selector =" {{AdminEditRoleInfoSection.checkboxByRole('Magento_User::acl_users')}}" stepKey =" scrollToTwoFactor" />
15
+ <waitForElementClickable selector =" {{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey =" waitForTwoFactorToBeClickable" />
16
+ <click stepKey =" clickTFACheckbox" selector =" {{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" />
15
17
<scrollTo selector =" {{AdminEditRoleResourcesSection.inventoryCheckbox}}" stepKey =" scrollToInventoryCheckBox" />
16
18
<waitForElementClickable selector =" {{AdminEditRoleResourcesSection.stockCheckbox}}" stepKey =" waitForStockToBeClickable" />
17
19
<click selector =" {{AdminEditRoleResourcesSection.stockCheckbox}}" stepKey =" selectStock" />
18
20
<waitForElementClickable selector =" {{AdminEditRoleResourcesSection.editStockCheckbox}}" stepKey =" waitForEditStockToBeClickable" />
19
21
<click selector =" {{AdminEditRoleResourcesSection.editStockCheckbox}}" stepKey =" uncheckEditStock" />
20
22
<waitForElementClickable selector =" {{AdminEditRoleResourcesSection.deleteStockCheckbox}}" stepKey =" waitForDeleteStockToBeClickable" />
21
23
<click selector =" {{AdminEditRoleResourcesSection.deleteStockCheckbox}}" stepKey =" uncheckDeleteStock" />
22
- <scrollTo selector =" {{AdminEditRoleResourcesSection.twoFactorAuth}}" stepKey =" scrollToTwoFactor" />
23
- <waitForElementClickable selector =" {{AdminEditRoleResourcesSection.twoFactorAuth}}" stepKey =" waitForTwoFactorToBeClickable" />
24
- <click selector =" {{AdminEditRoleResourcesSection.twoFactorAuth}}" stepKey =" checkTwoFactorCheckbox" />
25
24
</actionGroup >
26
25
</actionGroups >
You can’t perform that action at this time.
0 commit comments