fix(settings modal robot): use label click instead of checkbox uncheck

Remove obsolete Task 7 from tasks.md - fix no longer needed after label click approach.
This commit is contained in:
2026-07-02 21:04:42 +02:00
parent 9a3a2cbdcb
commit e2f0e187d0
2 changed files with 1 additions and 27 deletions

View File

@@ -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`