OLD | NEW |
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 |
OLD | NEW |