Index: chrome/test/remoting/remote_desktop_browsertest.cc |
diff --git a/chrome/test/remoting/remote_desktop_browsertest.cc b/chrome/test/remoting/remote_desktop_browsertest.cc |
index 58d659306e0d4e1d1e26a05a22ab17d3f88fea51..98abea2af6b39364433af197b12cf5c9755a3563 100644 |
--- a/chrome/test/remoting/remote_desktop_browsertest.cc |
+++ b/chrome/test/remoting/remote_desktop_browsertest.cc |
@@ -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) { |