Commit 9947e60b authored by dtapuska's avatar dtapuska Committed by Commit bot

Add automation scripts for the new pointer event touch action wpl tests.

BUG=626101

Review-Url: https://codereview.chromium.org/2322073002
Cr-Commit-Position: refs/heads/master@{#417406}
parent 2ef7d0ed
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
return touchScrollInTarget('#target0', 'up').then(function() {
return touchScrollInTarget('#target0', 'right');
}).then(function() {
return touchScrollInTarget('#target0', 'down');
}).then(function() {
return touchTapInTarget('#btnComplete');
});
}
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
return touchScrollInTarget('#target0', 'down').then(function() {
return touchScrollInTarget('#target0', 'right');
}).then(function() {
return touchScrollInTarget('#target0', 'left');
}).then(function() {
return touchTapInTarget('#btnComplete');
});
}
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
return touchScrollInTarget('#target0', 'down').then(function() {
return touchScrollInTarget('#target0', 'left');
}).then(function() {
return touchScrollInTarget('#target0', 'right');
}).then(function() {
return touchTapInTarget('#btnComplete');
});
}
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
return touchScrollInTarget('#target0', 'down').then(function() {
return touchScrollInTarget('#target0', 'right');
}).then(function() {
return touchScrollInTarget('#target0', 'up');
}).then(function() {
return touchTapInTarget('#btnComplete');
});
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment