File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
app/code/Magento/User/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2121 <group value =" pr_exclude" />
2222 <group value =" cloud" />
2323 </annotations >
24-
24+ <before >
25+ <!-- Disable IP-based time limit to prevent conflicts from concurrent/previous test runs -->
26+ <magentoCLI command =" config:set admin/security/min_time_between_password_reset_requests 0" stepKey =" disableTimeLimitBetweenRequests" />
27+ <!-- Set max attempts to 1 to ensure second request fails -->
28+ <magentoCLI command =" config:set admin/security/max_number_password_reset_requests 1" stepKey =" setMaxPasswordResetRequests" />
29+ </before >
30+ <after >
31+ <!-- Restore default rate limiting configuration -->
32+ <magentoCLI command =" config:set admin/security/min_time_between_password_reset_requests 10" stepKey =" restoreTimeLimitBetweenRequests" />
33+ <magentoCLI command =" config:set admin/security/max_number_password_reset_requests 5" stepKey =" restoreMaxPasswordResetRequests" />
34+ </after >
2535 <!-- First attempt to reset password -->
2636 <actionGroup ref =" AdminOpenForgotPasswordPageActionGroup" stepKey =" openAdminForgotPasswordPage1" />
2737 <actionGroup ref =" AdminFillForgotPasswordFormActionGroup" stepKey =" fillAdminForgotPasswordForm1" >
You can’t perform that action at this time.
0 commit comments