Commit 3557927c authored by anandc@chromium.org's avatar anandc@chromium.org

Use web-based sign-in, rather than inline signin, for v1 and v2 apps.

The remoting browser test started failing for the v2 web-app, because
authentication now redirects by default to the inline signin flow.
To fix this, we enforce web-based sign-in by passing in the required flag.

Tested that existing MANUAL_Me2Me_Connect_Local_Host, which was passing for the v1 web-app and failing for the v2 web-app, now passes for both with this change.

BUG=NONE

Review URL: https://codereview.chromium.org/132433005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244103 0039d316-1c4b-4281-b951-d872f2087c98
parent b52d73ab
......@@ -554,6 +554,11 @@ void RemoteDesktopBrowserTest::ParseCommandLine() {
// One and only one of these two arguments should be provided.
ASSERT_NE(webapp_crx_.empty(), webapp_unpacked_.empty());
}
// Run with "enable-web-based-signin" flag to enforce web-based sign-in,
// rather than inline signin. This ensures we use the same authentication
// page, regardless of whether we are testing the v1 or v2 web-app.
command_line->AppendSwitch(switches::kEnableWebBasedSignin);
}
void RemoteDesktopBrowserTest::ExecuteScript(const std::string& script) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment