Commit 661be45e authored by anandc's avatar anandc Committed by Commit bot

Update the expected URL for main.html of v2 app, used by remoting tests.

This should get the v2 launch test to start passing again.

BUG=424690

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

Cr-Commit-Position: refs/heads/master@{#302544}
parent 23d9573a
...@@ -223,7 +223,14 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest { ...@@ -223,7 +223,14 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
// Helper to construct the starting URL of the installed chromoting webapp. // Helper to construct the starting URL of the installed chromoting webapp.
GURL Chromoting_Main_URL() { GURL Chromoting_Main_URL() {
return GURL("chrome-extension://" + ChromotingID() + "/main.html"); if (is_platform_app())
// The v2 remoting app recently (M38 at the latest) started adding a
// query-string parameter to the main extension page. So we'll create a
// different expected URL for it.
return GURL("chrome-extension://" + ChromotingID() +
"/main.html?isKioskSession=false");
else
return GURL("chrome-extension://" + ChromotingID() + "/main.html");
} }
// Helper to retrieve the current URL in the active WebContents. // Helper to retrieve the current URL in the active WebContents.
......
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