Skip to content

Commit 41cb1fc

Browse files
committed
Code refactoring
1 parent f6589cc commit 41cb1fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/User/Test/Mftf/Test/AdminLockAdminUserEntityTest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@
1919
</annotations>
2020

2121
<before>
22+
<magentoCLI command="config:set admin/captcha/enable 0" stepKey="disableAdminCaptcha"/>
23+
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches1"/>
2224
<actionGroup ref="LoginAsAdmin" stepKey="logIn"/>
2325
</before>
2426
<after>
27+
<magentoCLI command="config:set admin/captcha/enable 1" stepKey="enableAdminCaptcha"/>
28+
<magentoCLI command="cache:clean config full_page" stepKey="cleanInvalidatedCaches"/>
2529
<actionGroup ref="logout" stepKey="logOut"/>
2630
</after>
2731

@@ -36,7 +40,7 @@
3640
<actionGroup ref="AdminOpenConfigAdminPageActionGroup" stepKey="goToConfigAdminSectionPage"/>
3741
<actionGroup ref="AdminExpandSecurityTabActionGroup" stepKey="openSecurityTab"/>
3842
<actionGroup ref="AdminSetMaximumLoginFailuresToLockoutAccountActionGroup" stepKey="setMaximumLoginFailures">
39-
<argument name="qty" value="2"/>
43+
<argument name="qty" value="2"/>
4044
</actionGroup>
4145
<actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveChanges"/>
4246

0 commit comments

Comments
 (0)