Closed Bug 1660849 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 25212 - Reland "Support triple click in Chromedriver PerformActions"

Categories

(Testing :: geckodriver, task, P4)

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25212 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25212
Details from upstream follow.

Lan Wei <lanwei@chromium.org> wrote:

Reland "Support triple click in Chromedriver PerformActions"

When we are using PerformActions from ChromeDriver to simulate three
mouse click, it only set the click count to 2, not 3, so this test fails
third_party/blink/web_tests/external/wpt/webdriver/tests/perform_actions
/pointer_tripleclick.py.

PerformActions should keep the mouse click count and decide if we should
increase the count or set to 1 when we have a mouse press based on the
interval of two mouse presses and difference between the current mouse
positions and the last one.

We should keep the click count in the session, and calculate the new
click count based on the count stored in the session.

Bug: 1119679
Change-Id: Iadac8e0f7dd13aebad6dc06c48c572426709a065

Reviewed-on: https://chromium-review.googlesource.com/2368335
WPT-Export-Revision: eec6afae6078d4f11b95729329c6bad356e46af0

Component: web-platform-tests → geckodriver

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webdriver/tests/perform_actions/pointer_tripleclick.py
test_tripleclick_at_coordinates: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81579115405e
[wpt PR 25212] - Reland "Support triple click in Chromedriver PerformActions", a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.