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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt_automation/input-events/input-events-typing-data-manual-automation.js

Issue 2919603002: [WPT] Add automated manual test for InputEvent typing (Closed)
Patch Set: Created 3 years, 7 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/external/wpt_automation/input-events/input-events-typing-data-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt_automation/input-events/input-events-typing-data-manual-automation.js b/third_party/WebKit/LayoutTests/external/wpt_automation/input-events/input-events-typing-data-manual-automation.js
new file mode 100644
index 0000000000000000000000000000000000000000..afc69a00a07ab598efab9c069185c265ddca3301
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt_automation/input-events/input-events-typing-data-manual-automation.js
@@ -0,0 +1,15 @@
+importAutomationScript('/input-events/inputevent_common_input.js');
+
+function inject_input() {
+ return focus('#plain').then(() => {
+ return keyDown('a');
+ }).then(() => {
+ return keyDown('b');
+ }).then(() => {
+ return focus('#rich');
+ }).then(() => {
+ return keyDown('c');
+ }).then(() => {
+ return keyDown('d');
+ });
+}

Powered by Google App Engine
This is Rietveld 408576698