Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js

Issue 2300623004: Make tests wait until automation is done to prevent leaks (Closed)
Patch Set: Fix test expectation Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
index 71eafbc018b638e673c12ca1df2f6171a1ae2e78..c2f398ccd3b70e53aa098b8ddec57cf6d8c1bada 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-mouse-manual-automation.js
@@ -1,8 +1,10 @@
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
- mouseClickInTarget('target0');
- mouseScrollUp();
- mouseScrollLeft();
+ return mouseClickInTarget('target0').then(function() {
+ return mouseWheelScroll('down');
+ }).then(function() {
+ return mouseWheelScroll('right');
+ });
}

Powered by Google App Engine
This is Rietveld 408576698