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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-down-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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-down-css_touch-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-down-css_touch-manual-automation.js
similarity index 62%
copy from third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js
copy to third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-down-css_touch-manual-automation.js
index f2e9074f9ddb579c74a612c676050cb5a54a10c2..d1a201f93f043d66a21d53e5711b84ef7b9fae8e 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-down-css_touch-manual-automation.js
@@ -1,10 +1,11 @@
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
- return touchScrollInTarget('#target0', 'down').then(function() {
+ return touchScrollInTarget('#target0', 'up').then(function() {
return touchScrollInTarget('#target0', 'right');
}).then(function() {
+ return touchScrollInTarget('#target0', 'down');
+ }).then(function() {
return touchTapInTarget('#btnComplete');
});
}
-
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-left-css_touch-manual-automation.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698