fix ui tests: close modal via escape, scheduler settings
- Remove Task 5/6 from docs (tests now fixed) - Close Settings Modal Via Escape: click focus + sleep before Escape key - Edit Scheduler Settings: use checkbox-custom selector - Disable Scheduler: use force=True on checkbox id Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -40,7 +40,9 @@ Close Settings Modal Via Overlay
|
||||
Close Settings Modal Via Escape
|
||||
[Documentation] Press Escape and verify the modal closes.
|
||||
Open Settings Modal
|
||||
Press Keys id=config-modal Escape
|
||||
Click id=config-modal
|
||||
Sleep 300ms
|
||||
Press Keys None Escape
|
||||
Wait For Elements State id=config-modal hidden timeout=3s
|
||||
Element Should Be Hidden id=config-modal
|
||||
|
||||
@@ -60,7 +62,7 @@ Edit General Settings
|
||||
Edit Scheduler Settings
|
||||
[Documentation] Toggle scheduler enabled and change time/days.
|
||||
Open Settings Modal
|
||||
Check Checkbox id=scheduled-rescan-enabled
|
||||
Click css=#scheduled-rescan-enabled ~ .checkbox-custom
|
||||
Fill Text id=scheduled-rescan-time 04:30
|
||||
Save Settings
|
||||
Toast Should Contain saved
|
||||
@@ -68,7 +70,7 @@ Edit Scheduler Settings
|
||||
Disable Scheduler
|
||||
[Documentation] Uncheck scheduler enabled and save.
|
||||
Open Settings Modal
|
||||
Click xpath=//label[contains(., 'Enable Scheduler')]
|
||||
Uncheck Checkbox id=scheduled-rescan-enabled force=True
|
||||
Save Settings
|
||||
Toast Should Contain saved
|
||||
|
||||
|
||||
Reference in New Issue
Block a user