Files
Mason Freed 2f200b82da Bug 2070640 [wpt PR 62539] - Fix flaky combined interest/command invoker web tests, a=testonly
Automatic update from web-platform-tests
Fix flaky combined interest/command invoker web tests

In interestfor-command-invoker and menubar-interest-command-invoker, an
invoker element with both interestfor and command=toggle-popover was
configured with interest-delay: 100ms. When clickOn() runs in automated
tests, it first dispatches pointer moves over the element. If the
action sequence takes more than 100ms before dispatching the
pointerdown/up actions, the start delay expired and opens the popover
via interest. The subsequent click event triggered the toggle-popover
command on the already-open popover, toggling it closed and causing the
assertion to fail.

The tests only need the end delay (interest-delay-end) to be short to
quickly verify that loss of interest does not close a popover opened
via command. Fix this by setting interest-delay to "1000s 100ms",
providing a large start delay while preserving the 100ms end delay.

Fixed: 557681063, 558137248
Change-Id: I827cab079c8da5c267c0a41157af4eba4a1e9ab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8373386
Commit-Queue: Mason Freed <masonf@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1694179}

--

wpt-commits: 9386f5829dfcaa0988dad8c4e4813b5012ff4f4a
wpt-pr: 62539
2026-09-11 14:48:32 +00:00
..