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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-left-css_touch-manual-automation.js

Issue 2322073002: Add automation scripts for the new pointer event touch action wpl tests. (Closed)
Patch Set: Change formatting 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 unified diff | Download patch
OLDNEW
1 importAutomationScript('/pointerevents/pointerevent_common_input.js'); 1 importAutomationScript('/pointerevents/pointerevent_common_input.js');
2 2
3 function inject_input() { 3 function inject_input() {
4 return touchScrollInTarget('#target0', 'down').then(function() { 4 return touchScrollInTarget('#target0', 'down').then(function() {
5 return touchScrollInTarget('#target0', 'right'); 5 return touchScrollInTarget('#target0', 'right');
6 }).then(function() { 6 }).then(function() {
7 return touchScrollInTarget('#target0', 'left');
8 }).then(function() {
7 return touchTapInTarget('#btnComplete'); 9 return touchTapInTarget('#btnComplete');
8 }); 10 });
9 } 11 }
10 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698