Index: remoting/test/launch_browsertest.cc |
diff --git a/remoting/test/launch_browsertest.cc b/remoting/test/launch_browsertest.cc |
index d44097f6f44612439e15e49ceab7c0fdfcf383c6..61d83d3d2362cefce78a80d946dc6b6b79c97670 100644 |
--- a/remoting/test/launch_browsertest.cc |
+++ b/remoting/test/launch_browsertest.cc |
@@ -9,25 +9,11 @@ namespace remoting { |
IN_PROC_BROWSER_TEST_F(RemoteDesktopBrowserTest, MANUAL_Launch) { |
VerifyInternetAccess(); |
- if (!NoInstall()) { |
- VerifyChromotingLoaded(false); |
- InstallChromotingApp(); |
- } |
- |
- VerifyChromotingLoaded(true); |
+ Install(); |
LaunchChromotingApp(); |
- // TODO: Remove this hack by blocking on the appropriate notification. |
- // The browser may still be loading images embedded in the webapp. If we |
- // uinstall it now those load will fail. Navigating away to avoid the load |
- // failures. |
- ui_test_utils::NavigateToURL(browser(), GURL("about:blank")); |
- |
- if (!NoCleanup()) { |
- UninstallChromotingApp(); |
- VerifyChromotingLoaded(false); |
- } |
+ Cleanup(); |
} |
} // namespace remoting |