Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual-automation.js |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual-automation.js |
index d6728277640022511177c81b2f043f3f59c1c7f4..7f84e71d580e84c9d245f9ff151af0d71951194f 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual-automation.js |
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual-automation.js |
@@ -1,7 +1,9 @@ |
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'); |
+ }); |
+} |