Skip to content

Commit

Permalink
Bug 1940119 [wpt PR 49925] - De-flake input-element-pseudo-open, a=te…
Browse files Browse the repository at this point in the history
…stonly

Automatic update from web-platform-tests
De-flake input-element-pseudo-open

test_driver.bless() calls were timing out while the picker is open, and
the color picker wasn't closing when calling input.blur(). Replacing
both of these with test_driver.click() on a button that always comes
before the pickers fixes both of these issues.

Change-Id: I01550d84c5e6111329cc660f6e797ce21f4e2b74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6149610
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Steinar H Gunderson <sessechromium.org>
Reviewed-by: Di Zhang <dizhanggchromium.org>
Cr-Commit-Position: refs/heads/main{#1402549}

--

wpt-commits: cdaff805df545b270353cbe68c775af2f1665ce2
wpt-pr: 49925

UltraBlame original commit: ce83594af44ef2dca584403128ef380d257714b8
  • Loading branch information
marco-c committed Jan 16, 2025
1 parent 68fa1f2 commit 6456546
Showing 1 changed file with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@
-
>
<
button
>
reset
<
/
button
>
<
div
class
=
Expand Down Expand Up @@ -351,14 +359,16 @@
await
test_driver
.
bless
click
(
)
;
input
document
.
blur
querySelector
(
'
button
'
)
)
;
assert_false
Expand Down

0 comments on commit 6456546

Please sign in to comment.