Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: chrome/browser/apps/app_browsertest.cc

Issue 310373002: Make PlatformAppBrowserTest....AdjustBoundsTo... not flaky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_browsertest.cc
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc
index 44e280485527da4cc2b1a380182b2e48e65b4552..436f75c30b52e92026c72ef5bfeba561144fa88f 100644
--- a/chrome/browser/apps/app_browsertest.cc
+++ b/chrome/browser/apps/app_browsertest.cc
@@ -750,8 +750,12 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
AppWindowAdjustBoundsToBeVisibleOnScreen) {
// TODO(benwells): Remove this logging once flakiness has been observed.
// See http://crbug.com/377754.
+ ExtensionTestMessageListener launched_listener("Launched", false);
+
LOG(WARNING) << "Loading minimal app";
const Extension* extension = LoadAndLaunchPlatformApp("minimal");
+ EXPECT_TRUE(launched_listener.WaitUntilSatisfied());
+
LOG(WARNING) << "Creating window";
AppWindow* window = CreateAppWindow(extension);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698