diff --git a/Docs/tasks.md b/Docs/tasks.md index d81a5fe..dc54375 100644 --- a/Docs/tasks.md +++ b/Docs/tasks.md @@ -1,19 +1,3 @@ -## Task 16: UI Login - Login Rate Limit UI - -**Suite:** `Robot.Ui.Login` -**Test:** `Login Rate Limit UI` -**Result:** FAIL -**Error:** `'invalid credentials' does not contain 'lockout'` - -**Instructions:** -- The test expects a lockout message containing `lockout` after multiple failed login attempts. -- Instead, the message `invalid credentials` is shown. -- Investigate the login rate-limiting logic in the backend and frontend. -- Check if rate limiting is actually triggered (may require more attempts or a different timing). -- Update the test in `tests/robot/ui/login.robot` to match the actual error message, or fix the rate-limiting display in the frontend. - ---- - ## Task 17: UI Settings Modal - Close Settings Modal Via Overlay **Suite:** `Robot.Ui.Settings Modal` diff --git a/tests/robot/ui/settings_modal.robot b/tests/robot/ui/settings_modal.robot index 46b3e0b..bca0de8 100644 --- a/tests/robot/ui/settings_modal.robot +++ b/tests/robot/ui/settings_modal.robot @@ -32,7 +32,8 @@ Close Settings Modal Via Button Close Settings Modal Via Overlay [Documentation] Click the modal overlay and verify the modal closes. Open Settings Modal - Click id=config-modal .modal-overlay + Wait For Elements State css=#config-modal .modal-overlay visible timeout=5s + Click css=#config-modal .modal-overlay Wait For Elements State id=config-modal hidden timeout=3s Element Should Be Hidden id=config-modal