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

Issue 2259353002: Update Flaky ToolbarActionViewInteractiveUITests (Closed)

Created:
4 years, 4 months ago by jonross
Modified:
4 years, 3 months ago
Reviewers:
Devlin
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update Flaky ToolbarActionViewInteractiveUITests Update ActivateOverflowedToolbarActionWithKeyboard to block on final keyboard event, then clear the pending messages, before confirming the final state. Update TestContextMenuOnOverflowedAction. Remove the concept of the context menu callback, this is no longer needed with the menus not nesting message loops. Instead of posting tasks to the message loop in order to continue the test, they will be called directly. The message loop will still be ran until idle in order to allow for the processing of UI events. TEST= ToolbarActionViewInteractiveUITests.ActivateOverflowedToolbarActionWithKeyboard, ToolbarActionViewInteractiveUITests.TestContextMenuOnOverflowedAction BUG=638692, 639010 Committed: https://crrev.com/cd6568bdc044afe156d1bf4bb29cb3be213d615a Cr-Commit-Position: refs/heads/master@{#414549}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Total comments: 8

Patch Set 4 : Updates #

Total comments: 8

Patch Set 5 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -57 lines) Patch
M chrome/browser/ui/views/toolbar/toolbar_action_view.h View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_action_view.cc View 1 2 3 4 chunks +4 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_action_view_interactive_uitest.cc View 1 2 3 4 9 chunks +37 lines, -41 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
jonross
Hey Devlin, Could you take a look at this change? I've updated the flaking tests. ...
4 years, 4 months ago (2016-08-19 20:03:00 UTC) #3
Devlin
Looks like these might still be failing on the bots? Also, please wrap your CL ...
4 years, 4 months ago (2016-08-20 01:17:00 UTC) #8
jonross
On 2016/08/20 01:17:00, Devlin wrote: > Looks like these might still be failing on the ...
4 years, 4 months ago (2016-08-22 13:10:51 UTC) #9
jonross
I've re-wrapped the description. What are your thoughts on the updates to these two tests. ...
4 years, 4 months ago (2016-08-23 20:41:02 UTC) #15
Devlin
lgtm. I'm investigating the extension loading error separately, but it shouldn't block this. Note also ...
4 years, 3 months ago (2016-08-25 16:42:12 UTC) #16
jonross
https://codereview.chromium.org/2259353002/diff/60001/chrome/browser/ui/views/toolbar/toolbar_action_view.h File chrome/browser/ui/views/toolbar/toolbar_action_view.h (right): https://codereview.chromium.org/2259353002/diff/60001/chrome/browser/ui/views/toolbar/toolbar_action_view.h#newcode88 chrome/browser/ui/views/toolbar/toolbar_action_view.h:88: bool IsMenuRunning() const override; On 2016/08/25 16:42:12, Devlin wrote: ...
4 years, 3 months ago (2016-08-25 18:29:27 UTC) #18
Devlin
a few last nits, otherwise slgtm https://codereview.chromium.org/2259353002/diff/80001/chrome/browser/ui/views/toolbar/toolbar_action_view.h File chrome/browser/ui/views/toolbar/toolbar_action_view.h (right): https://codereview.chromium.org/2259353002/diff/80001/chrome/browser/ui/views/toolbar/toolbar_action_view.h#newcode88 chrome/browser/ui/views/toolbar/toolbar_action_view.h:88: bool IsMenuRunningForTesting() const; ...
4 years, 3 months ago (2016-08-25 18:41:45 UTC) #19
jonross
https://codereview.chromium.org/2259353002/diff/80001/chrome/browser/ui/views/toolbar/toolbar_action_view.h File chrome/browser/ui/views/toolbar/toolbar_action_view.h (right): https://codereview.chromium.org/2259353002/diff/80001/chrome/browser/ui/views/toolbar/toolbar_action_view.h#newcode88 chrome/browser/ui/views/toolbar/toolbar_action_view.h:88: bool IsMenuRunningForTesting() const; On 2016/08/25 18:41:44, Devlin wrote: > ...
4 years, 3 months ago (2016-08-25 20:06:26 UTC) #20
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/2259353002/100001
4 years, 3 months ago (2016-08-25 20:07:48 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 3 months ago (2016-08-25 21:59:36 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 22:02:54 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cd6568bdc044afe156d1bf4bb29cb3be213d615a
Cr-Commit-Position: refs/heads/master@{#414549}

Powered by Google App Engine
This is Rietveld 408576698