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

Issue 1311123003: Fix sync E2E tests due to unclosed avatar windows. (Closed)

Created:
5 years, 3 months ago by shadi
Modified:
5 years, 3 months ago
Reviewers:
msw, Nicolas Zea, shadi1
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix sync E2E tests due to unclosed profile chooser windows. This only affects E2E tests and does not affect sync_integration_tests on chromium waterfalls. Upon multiple profiles sign in, we call ProfileChooserView::Hide() which closes the opened widget and avoids any test shutdown problems. BUG=526330 Committed: https://crrev.com/94837934bff11f2e2d582940258437b1e3cfbd3d Cr-Commit-Position: refs/heads/master@{#348931}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Fix mac issue #

Total comments: 2

Patch Set 3 : nit #

Total comments: 3

Patch Set 4 : add TODO's #

Total comments: 1

Patch Set 5 : Fix todo comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
A chrome/browser/sync/test/DEPS View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (13 generated)
shadi
PTAL msw: I added a test only dependency for 1 file.
5 years, 3 months ago (2015-08-31 17:30:27 UTC) #3
pval...(no longer on Chromium)
https://codereview.chromium.org/1311123003/diff/20001/chrome/browser/sync/test/DEPS File chrome/browser/sync/test/DEPS (right): https://codereview.chromium.org/1311123003/diff/20001/chrome/browser/sync/test/DEPS#newcode3 chrome/browser/sync/test/DEPS:3: "+chrome/browser/ui/views/profiles/profile_chooser_view.h", is there any other way to hide the ...
5 years, 3 months ago (2015-08-31 17:40:44 UTC) #4
msw
I think you meant to ping a chrome/browser/sync/OWNERS
5 years, 3 months ago (2015-08-31 18:07:57 UTC) #5
shadi1
On 2015/08/31 17:40:44, pvalenzuela wrote: > https://codereview.chromium.org/1311123003/diff/20001/chrome/browser/sync/test/DEPS > File chrome/browser/sync/test/DEPS (right): > > https://codereview.chromium.org/1311123003/diff/20001/chrome/browser/sync/test/DEPS#newcode3 > ...
5 years, 3 months ago (2015-08-31 18:10:00 UTC) #6
shadi1
On 2015/08/31 18:07:57, msw wrote: > I think you meant to ping a chrome/browser/sync/OWNERS Oops ...
5 years, 3 months ago (2015-08-31 18:11:33 UTC) #7
shadi1
On 2015/08/31 18:11:33, shadi1 wrote: > On 2015/08/31 18:07:57, msw wrote: > > I think ...
5 years, 3 months ago (2015-08-31 18:15:59 UTC) #9
msw
On 2015/08/31 18:11:33, shadi1 wrote: > On 2015/08/31 18:07:57, msw wrote: > > I think ...
5 years, 3 months ago (2015-08-31 18:17:37 UTC) #10
shadi
On 2015/08/31 18:17:37, msw wrote: > On 2015/08/31 18:11:33, shadi1 wrote: > > On 2015/08/31 ...
5 years, 3 months ago (2015-08-31 18:27:52 UTC) #11
shadi
zea@ PTAL
5 years, 3 months ago (2015-08-31 22:24:47 UTC) #13
Nicolas Zea
Yeah, this does seem a bit brittle. I wonder if this implies we should be ...
5 years, 3 months ago (2015-08-31 22:45:01 UTC) #14
shadi
https://codereview.chromium.org/1311123003/diff/40001/chrome/browser/sync/test/integration/sync_test.cc File chrome/browser/sync/test/integration/sync_test.cc (right): https://codereview.chromium.org/1311123003/diff/40001/chrome/browser/sync/test/integration/sync_test.cc#newcode584 chrome/browser/sync/test/integration/sync_test.cc:584: // ChromeOS and mobile platforms don't have a ProfileChooserView. ...
5 years, 3 months ago (2015-08-31 23:25:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311123003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311123003/60001
5 years, 3 months ago (2015-08-31 23:26:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/94966)
5 years, 3 months ago (2015-08-31 23:38:17 UTC) #22
shadi
+msw: for DEPS review.
5 years, 3 months ago (2015-09-01 00:19:40 UTC) #24
msw
https://codereview.chromium.org/1311123003/diff/60001/chrome/browser/sync/test/integration/sync_test.cc File chrome/browser/sync/test/integration/sync_test.cc (right): https://codereview.chromium.org/1311123003/diff/60001/chrome/browser/sync/test/integration/sync_test.cc#newcode47 chrome/browser/sync/test/integration/sync_test.cc:47: #include "chrome/browser/ui/views/profiles/profile_chooser_view.h" Shouldn't this only be included #if defined(TOOLKIT_VIEWS)? ...
5 years, 3 months ago (2015-09-01 00:27:20 UTC) #25
shadi
Thanks for the pointer to interactive_test_utils. Initially I saw that the changing the focus required ...
5 years, 3 months ago (2015-09-01 00:44:17 UTC) #26
shadi
I looked into ui_test_utils::FocusView(browser,VIEW_ID_TAB_CONTAINER) to replace ProfileChooserView::Hide();. This requires making sync_integraion_tests dependent on 'chrome_interactive_ui_test_sources' target, ...
5 years, 3 months ago (2015-09-01 18:06:18 UTC) #27
shadi
On 2015/09/01 18:06:18, shadi wrote: > I looked into ui_test_utils::FocusView(browser,VIEW_ID_TAB_CONTAINER) to replace > ProfileChooserView::Hide();. This ...
5 years, 3 months ago (2015-09-11 22:56:30 UTC) #28
msw
lgtm (with a comment nit) as a temporary workaround https://codereview.chromium.org/1311123003/diff/80001/chrome/browser/sync/test/integration/sync_test.cc File chrome/browser/sync/test/integration/sync_test.cc (right): https://codereview.chromium.org/1311123003/diff/80001/chrome/browser/sync/test/integration/sync_test.cc#newcode582 chrome/browser/sync/test/integration/sync_test.cc:582: ...
5 years, 3 months ago (2015-09-14 17:16:05 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1311123003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1311123003/120001
5 years, 3 months ago (2015-09-15 17:13:21 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 3 months ago (2015-09-15 18:07:06 UTC) #34
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/94837934bff11f2e2d582940258437b1e3cfbd3d Cr-Commit-Position: refs/heads/master@{#348931}
5 years, 3 months ago (2015-09-15 18:07:48 UTC) #35
msw
https://codereview.chromium.org/1311123003/diff/60001/chrome/browser/sync/test/integration/sync_test.cc File chrome/browser/sync/test/integration/sync_test.cc (right): https://codereview.chromium.org/1311123003/diff/60001/chrome/browser/sync/test/integration/sync_test.cc#newcode47 chrome/browser/sync/test/integration/sync_test.cc:47: #include "chrome/browser/ui/views/profiles/profile_chooser_view.h" On 2015/09/01 00:27:20, msw wrote: > Shouldn't ...
5 years, 3 months ago (2015-09-15 18:17:23 UTC) #36
shadi1
On 2015/09/15 18:17:23, msw wrote: > https://codereview.chromium.org/1311123003/diff/60001/chrome/browser/sync/test/integration/sync_test.cc > File chrome/browser/sync/test/integration/sync_test.cc (right): > > https://codereview.chromium.org/1311123003/diff/60001/chrome/browser/sync/test/integration/sync_test.cc#newcode47 > ...
5 years, 3 months ago (2015-09-15 18:27:13 UTC) #37
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:46:48 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/94837934bff11f2e2d582940258437b1e3cfbd3d
Cr-Commit-Position: refs/heads/master@{#348931}

Powered by Google App Engine
This is Rietveld 408576698