Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-none-css_touch-manual-automation.js |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-none-css_touch-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-none-css_touch-manual-automation.js |
index d972b5a3f8dad5862a0c318738862da4462c6140..0235ffd5ba607ac1cf315c05ba2379ad1d2a9576 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-none-css_touch-manual-automation.js |
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-none-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() { |
+ return touchTapInTarget('btnComplete'); |
+ }); |
} |