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

Unified Diff: chrome/test/data/webui/settings/people_page_manage_profile_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/people_page_manage_profile_test.js
diff --git a/chrome/test/data/webui/settings/people_page_manage_profile_test.js b/chrome/test/data/webui/settings/people_page_manage_profile_test.js
index 09050485dc6de165cb97fac1778249cecafc338d..8780b667463a8cc95920be104714a1ecef22e39a 100644
--- a/chrome/test/data/webui/settings/people_page_manage_profile_test.js
+++ b/chrome/test/data/webui/settings/people_page_manage_profile_test.js
@@ -87,7 +87,7 @@ cr.define('settings_people_page_manage_profile', function() {
manageProfile.profileName = 'Initial Fake Name';
manageProfile.syncStatus = {supervisedUser: false, childUser: false};
document.body.appendChild(manageProfile);
- settings.navigateTo(settings.Route.MANAGE_PROFILE);
+ settings.navigateTo(settings.routes.MANAGE_PROFILE);
});
teardown(function() { manageProfile.remove(); });
@@ -193,7 +193,7 @@ cr.define('settings_people_page_manage_profile', function() {
// Tests profile shortcut toggle is visible and toggling it removes and
// creates the profile shortcut respectively.
test('ManageProfileShortcutToggle', function() {
- settings.navigateTo(settings.Route.MANAGE_PROFILE);
+ settings.navigateTo(settings.routes.MANAGE_PROFILE);
Polymer.dom.flush();
assertFalse(!!manageProfile.$$('#hasShortcutToggle'));
@@ -230,7 +230,7 @@ cr.define('settings_people_page_manage_profile', function() {
browserProxy.setProfileShortcutStatus(
ProfileShortcutStatus.PROFILE_SHORTCUT_NOT_FOUND);
- settings.navigateTo(settings.Route.MANAGE_PROFILE);
+ settings.navigateTo(settings.routes.MANAGE_PROFILE);
Polymer.dom.flush();
assertFalse(!!manageProfile.$$('#hasShortcutToggle'));
@@ -252,7 +252,7 @@ cr.define('settings_people_page_manage_profile', function() {
browserProxy.setProfileShortcutStatus(
ProfileShortcutStatus.PROFILE_SHORTCUT_SETTING_HIDDEN);
- settings.navigateTo(settings.Route.MANAGE_PROFILE);
+ settings.navigateTo(settings.routes.MANAGE_PROFILE);
Polymer.dom.flush();
assertFalse(!!manageProfile.$$('#hasShortcutToggle'));

Powered by Google App Engine
This is Rietveld 408576698