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

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

Issue 2957153003: MD Settings: remove unsupported routes from guest-mode. (Closed)
Patch Set: merge Created 3 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/settings_menu_test.js
diff --git a/chrome/test/data/webui/settings/settings_menu_test.js b/chrome/test/data/webui/settings/settings_menu_test.js
index 975292759f4e20bb16969d6f8eeaca3919964ad8..23669099e8dcb563c2cc822fad4d890feee6d47f 100644
--- a/chrome/test/data/webui/settings/settings_menu_test.js
+++ b/chrome/test/data/webui/settings/settings_menu_test.js
@@ -63,7 +63,7 @@ cr.define('settings_menu', function() {
// search URL parameter.
test('clearsUrlSearchParam', function() {
var urlParams = new URLSearchParams('search=foo');
- settings.navigateTo(settings.Route.BASIC, urlParams);
+ settings.navigateTo(settings.routes.BASIC, urlParams);
assertEquals(
urlParams.toString(),
settings.getQueryParameters().toString());
@@ -75,7 +75,7 @@ cr.define('settings_menu', function() {
suite('SettingsMenuReset', function() {
setup(function() {
PolymerTest.clearBody();
- settings.navigateTo(settings.Route.RESET, '');
+ settings.navigateTo(settings.routes.RESET, '');
settingsMenu = document.createElement('settings-menu');
document.body.appendChild(settingsMenu);
});
@@ -93,7 +93,7 @@ cr.define('settings_menu', function() {
var path = new window.URL(selector.selected).pathname;
assertEquals('/reset', path);
- settings.navigateTo(settings.Route.PEOPLE, '');
+ settings.navigateTo(settings.routes.PEOPLE, '');
Polymer.dom.flush();
path = new window.URL(selector.selected).pathname;
@@ -105,7 +105,7 @@ cr.define('settings_menu', function() {
var path = new window.URL(selector.selected).pathname;
assertEquals('/reset', path);
- settings.navigateTo(settings.Route.BASIC, '');
+ settings.navigateTo(settings.routes.BASIC, '');
Polymer.dom.flush();
// BASIC has no sub page selected.
« no previous file with comments | « chrome/test/data/webui/settings/settings_main_test.js ('k') | chrome/test/data/webui/settings/settings_subpage_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698