Commit c41d7ca3 authored by jamiewalch's avatar jamiewalch Committed by Commit bot

Fix execution order to prevent browserTest being undefined.

For apps v1, authentication involves navigating away from the app and
then back again, so loading browser_test.js before authentication doesn't
work. I don't know why this is a recent regression though--AFAICT it should
have been failing from day 1.

BUG=414498

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

Cr-Commit-Position: refs/heads/master@{#295091}
parent 0865a088
......@@ -467,8 +467,8 @@ void RemoteDesktopBrowserTest::SetUpTestForMe2Me() {
VerifyInternetAccess();
Install();
LaunchChromotingApp();
LoadScript(app_web_content(), FILE_PATH_LITERAL("browser_test.js"));
Auth();
LoadScript(app_web_content(), FILE_PATH_LITERAL("browser_test.js"));
ExpandMe2Me();
EnsureRemoteConnectionEnabled();
}
......
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