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

Unified Diff: LayoutTests/fast/forms/calendar-picker/calendar-picker-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-with-step.html
diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html b/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html
index c3c03aac5ca2b0364f140bc3ea804b05c2629657..1d7d6cdd302cb95f498aa59045462bf70c82e1fd 100644
--- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html
+++ b/LayoutTests/fast/forms/calendar-picker/calendar-picker-with-step.html
@@ -23,7 +23,7 @@ function test1() {
shouldBeEqualToString('availableDayCells()', '2011-05-08,2011-05-17,2011-05-26,2011-06-04');
// Close popup
- eventSender.keyDown('\x1B');
+ eventSender.keyDown('escape');
waitUntilClosing(test1AfterClose);
}
@@ -36,13 +36,13 @@ function test2() {
shouldBeEqualToString('availableDayCells()', '2011-05-02,2011-05-11,2011-05-20,2011-05-29');
// Close popup
- eventSender.keyDown('\x1B');
+ eventSender.keyDown('escape');
waitUntilClosing(test2AfterClose);
}
function test2AfterClose() {
document.getElementById('date').min = '2011-05-01';
-
+
// Reopen popup
openPicker(document.getElementById('date'), test3);
}

Powered by Google App Engine
This is Rietveld 408576698