Skip to content

Commit a68b2ad

Browse files
committed
AC-107: Update Third Party library: jstree
- Add scroll to Tfa resource tree checkbox
1 parent db98f6b commit a68b2ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TwoFactorAuth/Test/Mftf/ActionGroup/AdminCreateRoleActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1010
<actionGroup name="AdminCreateRoleActionGroup">
11+
<scrollTo selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" x="0" y="-100" stepKey="scrollToTfaResourceElement" before="waitForTfaRole"/>
1112
<waitForElementVisible stepKey="waitForTfaRole" selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" time="30" after="clickContentBlockCheckbox"/>
1213
<conditionalClick visible="false" dependentSelector="{{AdminEditRoleInfoSection.uncheckedCheckboxByRole('Magento_TwoFactorAuth::tfa')}}" stepKey="clickCheckbox" selector="{{AdminEditRoleInfoSection.checkboxByRole('Magento_TwoFactorAuth::tfa')}}" after="waitForTfaRole"/>
1314
</actionGroup>

0 commit comments

Comments
 (0)