fix(settings_modal.robot): replace Execute JavaScript with Evaluate JavaScript

Browser library uses Evaluate JavaScript, not Execute JavaScript.
Update scrollTop assignments in modal tests to use correct keyword.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-07-02 20:51:45 +02:00
parent 04175a2bd6
commit 097138376a
2 changed files with 3 additions and 53 deletions

View File

@@ -92,7 +92,7 @@ Edit Backup Settings
[Documentation] Toggle backup enabled and change path/retention.
Open Settings Modal
# Backup section is below other sections - scroll to make it visible
Execute JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
Evaluate JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
Wait For Elements State id=backup-enabled visible timeout=5s
Check Checkbox id=backup-enabled
Fill Text id=backup-path /tmp/aniworld_backups
@@ -107,7 +107,7 @@ Edit NFO Settings
[Documentation] Enter TMDB key and toggle auto-create/media downloads.
Open Settings Modal
# NFO section is below other sections - scroll to make it visible
Execute JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
Evaluate JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
Wait For Elements State id=nfo-auto-create visible timeout=5s
Fill Text id=tmdb-api-key test_tmdb_key_123
Check Checkbox id=nfo-auto-create
@@ -125,7 +125,7 @@ Create Config Backup
[Documentation] Click create backup and verify success notification.
Open Settings Modal
# Scroll to bottom to make the create-config-backup button visible
Execute JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
Evaluate JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
Wait For Elements State id=create-config-backup visible timeout=5s
Click id=create-config-backup
# Backup creation shows toast (stub implementation - no actual file created)