Bug 1660276 [wpt PR 25152] - [ChromeDriver] Support triple click in Chromedriver PerformActions, a=testonly
authorLan Wei <lanwei@chromium.org>
Wed, 26 Aug 2020 08:51:55 +0000
changeset 546464 93806d16f087d4d8d3b2bbc427004d3afb317cf9
parent 546463 6c26b20ba8d6d288528a3302cd81943ebe2a797a
child 546465 3283fbf1d7eef39b62be4593ce3d3186560b9248
push id37735
push userabutkovits@mozilla.com
push dateThu, 27 Aug 2020 21:29:40 +0000
treeherdermozilla-central@109f3a4de567 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1660276, 25152, 1119679, 2366655, 800201
milestone82.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1660276 [wpt PR 25152] - [ChromeDriver] Support triple click in Chromedriver PerformActions, a=testonly Automatic update from web-platform-tests [ChromeDriver] 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. Bug: 1119679 Change-Id: I2b941c5d295cdd457109c8866c55e02bb2360555 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366655 Reviewed-by: John Chen <johnchen@chromium.org> Commit-Queue: Lan Wei <lanwei@chromium.org> Cr-Commit-Position: refs/heads/master@{#800201} -- wpt-commits: ec174976221ab481a1cdaec1c8be450fa48a6c1e wpt-pr: 25152
testing/web-platform/tests/webdriver/tests/perform_actions/pointer_tripleclick.py
--- a/testing/web-platform/tests/webdriver/tests/perform_actions/pointer_tripleclick.py
+++ b/testing/web-platform/tests/webdriver/tests/perform_actions/pointer_tripleclick.py
@@ -1,15 +1,15 @@
 from tests.perform_actions.support.refine import filter_dict, get_events
 from tests.support.asserts import assert_move_to_coordinates
 from tests.support.inline import inline
 
 lots_of_text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor "\
                "incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud "\
-               " exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
+               "exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
 
 
 def test_tripleclick_at_coordinates(session, mouse_chain):
     """
         This test does a triple click on a coordinate. On desktop platforms
         this will select a paragraph. On mobile this will not have the same
         desired outcome as taps are handled differently on mobile.
     """