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.blockName('restrictedRole')}}" x =" 0" y =" -120" stepKey =" scrollToResourceElement" />
15
+ <click stepKey =" clickTFACheckbox" selector =" {{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" after =" waitForTfaRole" />
15
16
<scrollTo selector =" {{AdminEditRoleResourcesSection.inventoryCheckbox}}" stepKey =" scrollToInventoryCheckBox" />
16
17
<waitForElementClickable selector =" {{AdminEditRoleResourcesSection.stockCheckbox}}" stepKey =" waitForStockToBeClickable" />
17
18
<click selector =" {{AdminEditRoleResourcesSection.stockCheckbox}}" stepKey =" selectStock" />
18
19
<waitForElementClickable selector =" {{AdminEditRoleResourcesSection.editStockCheckbox}}" stepKey =" waitForEditStockToBeClickable" />
19
20
<click selector =" {{AdminEditRoleResourcesSection.editStockCheckbox}}" stepKey =" uncheckEditStock" />
20
21
<waitForElementClickable selector =" {{AdminEditRoleResourcesSection.deleteStockCheckbox}}" stepKey =" waitForDeleteStockToBeClickable" />
21
22
<click selector =" {{AdminEditRoleResourcesSection.deleteStockCheckbox}}" stepKey =" uncheckDeleteStock" />
22
- <comment userInput =" BIC workaround" stepKey =" scrollToTwoFactor" />
23
- <comment userInput =" BIC workaround" stepKey =" waitForTwoFactorToBeClickable" />
24
- <comment userInput =" BIC workaround" stepKey =" checkTwoFactorCheckbox" />
23
+ <scrollTo selector =" {{AdminEditRoleInfoSection.checkboxByRole('Magento_User::acl_anchor')}}" stepKey =" scrollToTwoFactor" />
25
24
</actionGroup >
26
25
</actionGroups >
You can’t perform that action at this time.
0 commit comments