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

Unified Diff: chrome/test/data/webui/settings/device_page_tests.js

Issue 2184893002: Settings Router Refactor: Remove route.page legacy property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0217-settings-refactor-settings-menu
Patch Set: update test Created 4 years, 5 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: chrome/test/data/webui/settings/device_page_tests.js
diff --git a/chrome/test/data/webui/settings/device_page_tests.js b/chrome/test/data/webui/settings/device_page_tests.js
index 3d7eeb86b311b33bfd1d302d6654b24334595367..c2757bf45f67f7942744ef92f375e398b3df18d7 100644
--- a/chrome/test/data/webui/settings/device_page_tests.js
+++ b/chrome/test/data/webui/settings/device_page_tests.js
@@ -227,7 +227,7 @@ cr.define('device_page_tests', function() {
test('subpage responds to pointer attach/detach', function() {
assertEquals('pointers', devicePage.currentRoute.subpage[0]);
- assertTrue(devicePage.isCurrentRouteOnPointersPage_());
+ assertTrue(devicePage.currentRoute == settings.Route.POINTERS);
assertLT(0, pointersPage.$.mouse.offsetHeight);
assertLT(0, pointersPage.$.touchpad.offsetHeight);
assertLT(0, pointersPage.$$('#mouse h2').offsetHeight);

Powered by Google App Engine
This is Rietveld 408576698