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

Issue 2285023003: Ensures the first browser in each interactive_ui_test is in the foreground (Closed)

Created:
4 years, 3 months ago by sky
Modified:
4 years, 3 months ago
Reviewers:
msw
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensures the first browser in each interactive_ui_test is in the foreground It's entirely possible for an interactive_ui_test to do something that triggers the suite to go to the background (such as clicking on a desktop). By ensuring each browser is in the front at the start of the test we avoid typical flake. I should be able to remove some calls to BringBrowserWindowToFront that are sprinkled throughout the code after this, but I'll do that separately. BUG=639350 TEST=test only fix Committed: https://crrev.com/9a221a492c097da82c4f14019dad5dba14d9ac23 Cr-Commit-Position: refs/heads/master@{#415018}

Patch Set 1 #

Patch Set 2 : do nothing on null browser #

Patch Set 3 : not mac #

Total comments: 6

Patch Set 4 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M chrome/test/base/in_process_browser_test.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/test/base/interactive_ui_tests_main.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
sky
I'm not sure what changed to make a handful of tests more likely to flake. ...
4 years, 3 months ago (2016-08-28 03:09:02 UTC) #11
msw
LGTM, at least as a short-term or prospective fix. https://codereview.chromium.org/2285023003/diff/40001/chrome/test/base/in_process_browser_test.h File chrome/test/base/in_process_browser_test.h (right): https://codereview.chromium.org/2285023003/diff/40001/chrome/test/base/in_process_browser_test.h#newcode124 chrome/test/base/in_process_browser_test.h:124: ...
4 years, 3 months ago (2016-08-29 01:12:29 UTC) #16
sky
https://codereview.chromium.org/2285023003/diff/40001/chrome/test/base/in_process_browser_test.h File chrome/test/base/in_process_browser_test.h (right): https://codereview.chromium.org/2285023003/diff/40001/chrome/test/base/in_process_browser_test.h#newcode124 chrome/test/base/in_process_browser_test.h:124: // first browser. This is intended to set up ...
4 years, 3 months ago (2016-08-29 15:51:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2285023003/60001
4 years, 3 months ago (2016-08-29 15:52:32 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-29 16:51:11 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 16:51:43 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9a221a492c097da82c4f14019dad5dba14d9ac23
Cr-Commit-Position: refs/heads/master@{#415018}

Powered by Google App Engine
This is Rietveld 408576698