diff --git a/Docs/tasks.md b/Docs/tasks.md index 110b6de..145dd5c 100644 --- a/Docs/tasks.md +++ b/Docs/tasks.md @@ -1,29 +1,3 @@ -## Task 7: Fix `Robot.Ui.Settings Modal.Edit General Settings` - -**Test File:** `tests/robot/ui/settings_modal.robot` - -**Error:** -``` -TimeoutError: locator.check: Timeout 10000ms exceeded. -``` - -**Root Cause:** -A checkbox (`id=scheduler-rescan-enabled` or similar) isn't being checked within the timeout. The element might not be visible or interactable. - -**Fix Instructions:** -1. Verify the checkbox ID is correct - check the actual HTML in the settings modal -2. Try using `force=True`: -```robot -Check Checkbox id=scheduled-rescan-enabled force=True -``` - -3. Or use JavaScript to check the checkbox: -```robot -Evaluate JavaScript document.getElementById('scheduled-rescan-enabled').checked = true -``` - ---- - ## Task 8: Fix `Robot.Ui.Settings Modal.Disable Scheduler` **Test File:** `tests/robot/ui/settings_modal.robot` diff --git a/tests/robot/ui/settings_modal.robot b/tests/robot/ui/settings_modal.robot index d3afb57..299d1a4 100644 --- a/tests/robot/ui/settings_modal.robot +++ b/tests/robot/ui/settings_modal.robot @@ -70,7 +70,7 @@ Edit Scheduler Settings Disable Scheduler [Documentation] Uncheck scheduler enabled and save. Open Settings Modal - Uncheck Checkbox id=scheduled-rescan-enabled force=True + Click //label[contains(., 'Enable Scheduler')] force=True Save Settings Toast Should Contain saved