Complete Task 9: Fix Robot.Ui.Settings Modal.Edit Backup Settings
Remove resolved task - Execute JavaScript replaced with Evaluate JavaScript or Scroll in settings modal test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1,33 +1,3 @@
|
|||||||
## Task 9: Fix `Robot.Ui.Settings Modal.Edit Backup Settings`
|
|
||||||
|
|
||||||
**Test File:** `tests/robot/ui/settings_modal.robot`
|
|
||||||
|
|
||||||
**Error:**
|
|
||||||
```
|
|
||||||
No keyword with name 'Execute JavaScript' found.
|
|
||||||
```
|
|
||||||
|
|
||||||
**Context:**
|
|
||||||
Uses `Execute JavaScript` to scroll the modal:
|
|
||||||
```robot
|
|
||||||
Execute JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
|
|
||||||
```
|
|
||||||
|
|
||||||
**Fix Instructions:**
|
|
||||||
Replace with Browser library's scroll method:
|
|
||||||
```robot
|
|
||||||
# Instead of Execute JavaScript, use:
|
|
||||||
Evaluate JavaScript document.querySelector('#config-modal .modal-body').scrollTop = 10000
|
|
||||||
```
|
|
||||||
|
|
||||||
Or use Playwright's built-in scrolling:
|
|
||||||
```robot
|
|
||||||
# Scroll within the modal content area
|
|
||||||
Scroll css=#config-modal .modal-body down
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Task 10: Fix `Robot.Ui.Settings Modal.Edit NFO Settings`
|
## Task 10: Fix `Robot.Ui.Settings Modal.Edit NFO Settings`
|
||||||
|
|
||||||
**Test File:** `tests/robot/ui/settings_modal.robot`
|
**Test File:** `tests/robot/ui/settings_modal.robot`
|
||||||
|
|||||||
Reference in New Issue
Block a user