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

Unified Diff: LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.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-key-operations.html
diff --git a/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html b/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
index da1a1af857253cce6665d542158edba83eccdb94..6b010cf92450e414f1db38f9f2d625f237ccea08 100644
--- a/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
+++ b/LayoutTests/fast/forms/calendar-picker/calendar-picker-key-operations.html
@@ -19,7 +19,7 @@ openPicker(document.getElementById('date'), test1);
function test1() {
debug('Check that page popup exists.');
- shouldBe('popupWindow.pagePopupController.toString()', '"[object PagePopupController]"');
+ shouldBeEqualToString('popupWindow.pagePopupController.toString()', '[object PagePopupController]');
shouldBeFalse('isCalendarTableScrollingWithAnimation()');
shouldBeEqualToString('currentMonth()', '2000-01');
@@ -244,7 +244,7 @@ function test2() {
shouldBeTrue('testToday() || testToday()');
debug("press esc");
- eventSender.keyDown('\x1B');
+ eventSender.keyDown('escape');
waitUntilClosing(test2AfterClosing);
}

Powered by Google App Engine
This is Rietveld 408576698