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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user