Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js |
index d972b5a3f8dad5862a0c318738862da4462c6140..de02482ad48a369dd6aa998038a8625cbe808549 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js |
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js |
@@ -1,8 +1,10 @@ |
importAutomationScript('/pointerevents/pointerevent_common_input.js'); |
function inject_input() { |
- touchScrollUpInTarget('target0'); |
- touchScrollLeftInTarget('target0'); |
- touchTapInTarget('btnComplete'); |
+ touchScrollInTarget('target0', 'down').then(function() { |
+ return touchScrollInTarget('target0', 'right'); |
+ }).then(function() { |
+ touchTapInTarget('btnComplete'); |
+ }); |
} |