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

Issue 2638843002: MD WebUI: Remove WebUI test focus hack by moving to interactive ui tests (Closed)

Created:
3 years, 11 months ago by tsergeant
Modified:
3 years, 11 months ago
Reviewers:
Dan Beam, sky
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD WebUI: Remove WebUI test focus hack by moving to interactive ui tests WebUIBrowserTest currently has a workaround to focus the test window when starting a test. However, tests which rely on focus will still often fail when run in parallel with other tests. This CL removes this workaround and moves the affected tests to interactive ui tests, which run serially and are able to reliably focus their WebContents before running. BUG=642467 Review-Url: https://codereview.chromium.org/2638843002 Cr-Commit-Position: refs/heads/master@{#444536} Committed: https://chromium.googlesource.com/chromium/src/+/fb7b4ef61424259ad589b83efa6dd41e682299cf

Patch Set 1 : #

Patch Set 2 : Comment #

Patch Set 3 : Ui -> UI #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -83 lines) Patch
M chrome/test/BUILD.gn View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/base/web_ui_browser_test.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/test/data/webui/cr_elements/cr_action_menu_test.js View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/test/data/webui/cr_elements/cr_elements_browsertest.js View 2 chunks +1 line, -19 lines 0 comments Download
A chrome/test/data/webui/cr_elements/cr_elements_focus_test.js View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/test/data/webui/cr_elements/cr_profile_avatar_selector_tests.js View 1 3 chunks +61 lines, -48 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_focus_test.js View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
A chrome/test/data/webui/polymer_interactive_ui_test.js View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (24 generated)
tsergeant
As a follow-up to the CL from last week, this completes the process of moving ...
3 years, 11 months ago (2017-01-17 06:43:30 UTC) #18
Dan Beam
cool! lgtm
3 years, 11 months ago (2017-01-18 02:02:57 UTC) #21
tsergeant
+sky@ for the change to web_ui_browser_test.cc
3 years, 11 months ago (2017-01-18 02:13:32 UTC) #24
sky
LGTM
3 years, 11 months ago (2017-01-18 16:49:15 UTC) #25
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/2638843002/60001
3 years, 11 months ago (2017-01-18 22:15:12 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 23:12:47 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/fb7b4ef61424259ad589b83efa6d...

Powered by Google App Engine
This is Rietveld 408576698