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

Unified Diff: chrome/browser/ui/webui/sync_setup_browsertest.js

Issue 1608103002: Settings Rewrite: Fix Opening Sync User login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « chrome/browser/ui/webui/settings/people_handler_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_setup_browsertest.js
diff --git a/chrome/browser/ui/webui/sync_setup_browsertest.js b/chrome/browser/ui/webui/sync_setup_browsertest.js
index b0000a2cb9c1025212f386ec69ff812df22bd1ff..74a9ded5eec455fb064ecec62f25f4108b41cfa8 100644
--- a/chrome/browser/ui/webui/sync_setup_browsertest.js
+++ b/chrome/browser/ui/webui/sync_setup_browsertest.js
@@ -92,7 +92,7 @@ TEST_F('SyncSetupWebUITestAsync', 'MAYBE_VerifySignIn', function() {
// that a confirmation dialog appears, and clicking OK to dismiss the dialog.
// Note that this test doesn't actually do a gaia sign in.
this.mockHandler.expects(once()).SyncSetupStartSignIn(
- 'access-point-settings').will(callFunction(function() {
+ [false] /* createSupervisedUser */).will(callFunction(function() {
SyncSetupOverlay.showSyncSetupPage('configure');
var okButton = $('confirm-everything-ok');
assertNotEquals(null, okButton);
@@ -116,7 +116,7 @@ GEN('#endif // defined(OS_LINUX)');
// Test that switching to and from "Sync everything" saves and restores types.
TEST_F('SyncSetupWebUITestAsync', 'MAYBE_RestoreSyncDataTypes', function() {
this.mockHandler.expects(once()).SyncSetupStartSignIn(
- 'access-point-settings').will(callFunction(function() {
+ [false] /* createSupervisedUser */).will(callFunction(function() {
SyncSetupOverlay.showSyncSetupPage('configure', {});
$('sync-select-datatypes').selectedIndex = 1;
« no previous file with comments | « chrome/browser/ui/webui/settings/people_handler_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698