WebDriver: Wait focus to complete when switching window (#38160)

Previously the webdriver do not wait for focus to complete, which can
cause some instability.

No matter interact as human or webdriver, the focus chain always goes
as: Embedder forwards -> Constellation (do some updates) -> Embedder (do
some updates).

---------

Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
Euclid Ye 2025-07-21 12:18:21 +08:00 committed by GitHub
parent 7c96084298
commit b0a29393a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 48 additions and 23 deletions

View file

@ -3,7 +3,7 @@
expected: ERROR
[test_dismiss_confirm]
expected: ERROR
expected: FAIL
[test_dismiss_prompt]
expected: FAIL

View file

@ -1,7 +1,4 @@
[get.py]
[test_get_alert_text]
expected: FAIL
[test_get_confirm_text]
expected: FAIL