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

Unified Diff: LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html

Issue 484353004: Test tidying: use "escape" and "backspace" with eventSender.keyDown() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More quoting consistency wibbles Created 6 years, 4 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: LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html
diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html b/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html
index 61935f3eaba83d7b28c21bb6a2d6d500cddaaffd..763c8af2f44a860550b9fed4832eca3d2dd0224f 100644
--- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html
+++ b/LayoutTests/fast/forms/calendar-picker/calendar-picker-datetimelocal-with-step.html
@@ -21,7 +21,7 @@ function test1() {
shouldBeEqualToString('availableDayCells()', '2012-10-28,2012-11-01,2012-11-04,2012-11-08,2012-11-11,2012-11-15,2012-11-18,2012-11-22,2012-11-25,2012-11-29');
// Close popup
- eventSender.keyDown('\x1B');
+ eventSender.keyDown('escape');
waitUntilClosing(test1AfterClose);
}
@@ -34,7 +34,7 @@ function test2() {
shouldBeEqualToString('availableDayCells()', '2012-10-30,2012-11-02,2012-11-06,2012-11-09,2012-11-13,2012-11-16,2012-11-20,2012-11-23,2012-11-27,2012-11-30');
// Close popup
- eventSender.keyDown('\x1B');
+ eventSender.keyDown('escape');
waitUntilClosing(test2AfterClose);
}
@@ -50,7 +50,7 @@ function test3() {
shouldBeEqualToString('availableDayCells()', '2012-11-16,2012-11-20,2012-11-23,2012-11-27,2012-11-30');
// Close popup
- eventSender.keyDown('\x1B');
+ eventSender.keyDown('escape');
waitUntilClosing(test3AfterClose);
}

Powered by Google App Engine
This is Rietveld 408576698