fix(ui-test): add visibility wait before overlay click

Flaky test in CI. Click without wait sometimes hit overlay before
render complete. Add Wait For Elements State before Click.
This commit is contained in:
2026-06-28 17:37:40 +02:00
parent 706aa37f18
commit db13b39b2b
2 changed files with 2 additions and 17 deletions

View File

@@ -32,7 +32,8 @@ Close Settings Modal Via Button
Close Settings Modal Via Overlay
[Documentation] Click the modal overlay and verify the modal closes.
Open Settings Modal
Click id=config-modal .modal-overlay
Wait For Elements State css=#config-modal .modal-overlay visible timeout=5s
Click css=#config-modal .modal-overlay
Wait For Elements State id=config-modal hidden timeout=3s
Element Should Be Hidden id=config-modal