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

Issue 582493002: Enable accessibility testing for the bookmark browser test. (Closed)

Created:
6 years, 3 months ago by hcarmona
Modified:
5 years, 10 months ago
CC:
chromium-reviews, aboxhall+watch_chromium.org, yuzo+watch_chromium.org, plundblad+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable accessibility testing for the bookmark browser test. Updated the InProcessBrowserTest so that it can run accessibility tests. Any browser test can enable the audit for a test by calling EnableAccessibilityChecksForTestCase. Added a test for the accessibility audit. This will ensure that the InProcessBrowserTest's ability to do an accessibility audit doesn't break. Added sample HTML to validate the accessibility test helper. This HTML is used only in the browser test. Enable accessibility testing for the Bookmarks browser test. No additional changes were made to either the bookmark page or the bookmark browser tests because the accessibility tests passed. BUG=406152 Committed: https://crrev.com/67cce527f37cb11e351333f65b18d0e25b0d2304 Cr-Commit-Position: refs/heads/master@{#315487}

Patch Set 1 : Initial Upload #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 #

Patch Set 8 : Update for Review #

Total comments: 20

Patch Set 9 : Apply Feedback #

Total comments: 25

Patch Set 10 : Applied Feedback #

Total comments: 12

Patch Set 11 : Applied Feedback #

Patch Set 12 : Fix windows compile #

Patch Set 13 : Forgotten file for win compile #

Patch Set 14 : fix empty string check #

Total comments: 14

Patch Set 15 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -1 line) Patch
M chrome/browser/ui/webui/bookmarks_ui_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/base/in_process_browser_test.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +101 lines, -1 line 0 comments Download
M chrome/test/base/in_process_browser_test_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +60 lines, -0 lines 0 comments Download
A chrome/test/data/accessibility_fail.html View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/test/data/accessibility_pass.html View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
hcarmona
Adding aboxhall@ to review changes related to a11y audit. This change allows the a11y audit ...
5 years, 11 months ago (2015-01-24 00:42:08 UTC) #2
aboxhall
LGTM for accessibility audit additions. Looks great!
5 years, 11 months ago (2015-01-27 23:52:08 UTC) #3
hcarmona
Hi phajdan, Would you be the right person to review the changes in chrome/test? -Hector
5 years, 10 months ago (2015-01-28 22:34:17 UTC) #5
Paweł Hajdan Jr.
https://codereview.chromium.org/582493002/diff/130001/chrome/test/base/accessibility_test_helper.cc File chrome/test/base/accessibility_test_helper.cc (right): https://codereview.chromium.org/582493002/diff/130001/chrome/test/base/accessibility_test_helper.cc#newcode1 chrome/test/base/accessibility_test_helper.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 10 months ago (2015-01-29 13:01:19 UTC) #6
hcarmona
Applied feedback https://codereview.chromium.org/582493002/diff/130001/chrome/test/base/accessibility_test_helper.cc File chrome/test/base/accessibility_test_helper.cc (right): https://codereview.chromium.org/582493002/diff/130001/chrome/test/base/accessibility_test_helper.cc#newcode1 chrome/test/base/accessibility_test_helper.cc:1: // Copyright 2014 The Chromium Authors. All ...
5 years, 10 months ago (2015-01-30 22:19:47 UTC) #7
hcarmona
jcivelli, would you be able to review this CL since phajdan is ooo? Thanks, Hector
5 years, 10 months ago (2015-02-03 19:06:21 UTC) #9
Jay Civelli
Your CL description shows up weird. Are lines 72 char max? Here are the comments/questions ...
5 years, 10 months ago (2015-02-05 23:29:10 UTC) #10
hcarmona
Applied feedback and updated the CL description. https://codereview.chromium.org/582493002/diff/150001/chrome/test/base/in_process_browser_test.cc File chrome/test/base/in_process_browser_test.cc (right): https://codereview.chromium.org/582493002/diff/150001/chrome/test/base/in_process_browser_test.cc#newcode116 chrome/test/base/in_process_browser_test.cc:116: const base::FilePath ...
5 years, 10 months ago (2015-02-06 22:50:53 UTC) #11
Jay Civelli
https://codereview.chromium.org/582493002/diff/150001/chrome/test/base/in_process_browser_test.h File chrome/test/base/in_process_browser_test.h (right): https://codereview.chromium.org/582493002/diff/150001/chrome/test/base/in_process_browser_test.h#newcode197 chrome/test/base/in_process_browser_test.h:197: void set_run_accessibility_checks(bool run_accessibility_checks) { On 2015/02/06 22:50:53, Hector Carmona ...
5 years, 10 months ago (2015-02-07 01:11:13 UTC) #12
hcarmona
https://codereview.chromium.org/582493002/diff/170001/chrome/browser/ui/webui/bookmarks_ui_browsertest.cc File chrome/browser/ui/webui/bookmarks_ui_browsertest.cc (right): https://codereview.chromium.org/582493002/diff/170001/chrome/browser/ui/webui/bookmarks_ui_browsertest.cc#newcode24 chrome/browser/ui/webui/bookmarks_ui_browsertest.cc:24: }; On 2015/02/07 01:11:12, Jay Civelli wrote: > Nit: ...
5 years, 10 months ago (2015-02-07 02:22:13 UTC) #13
Jay Civelli
Please run the trybots. Could you also format the CL message to 72 char lines? ...
5 years, 10 months ago (2015-02-07 02:36:36 UTC) #14
hcarmona
Updated description to not exceed 72 lines and ran try-bots. There was a compile issue ...
5 years, 10 months ago (2015-02-09 22:55:32 UTC) #15
Jay Civelli
lgtm
5 years, 10 months ago (2015-02-09 23:14:39 UTC) #16
Dan Beam
lgtm just some nits https://codereview.chromium.org/582493002/diff/250001/chrome/test/base/in_process_browser_test.cc File chrome/test/base/in_process_browser_test.cc (right): https://codereview.chromium.org/582493002/diff/250001/chrome/test/base/in_process_browser_test.cc#newcode141 chrome/test/base/in_process_browser_test.cc:141: " 'lowContrastElements'];" nit: ] on ...
5 years, 10 months ago (2015-02-10 01:13:39 UTC) #18
hcarmona
Address nits https://codereview.chromium.org/582493002/diff/250001/chrome/test/base/in_process_browser_test.cc File chrome/test/base/in_process_browser_test.cc (right): https://codereview.chromium.org/582493002/diff/250001/chrome/test/base/in_process_browser_test.cc#newcode141 chrome/test/base/in_process_browser_test.cc:141: " 'lowContrastElements'];" On 2015/02/10 01:13:38, Dan Beam ...
5 years, 10 months ago (2015-02-10 02:31:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/582493002/270001
5 years, 10 months ago (2015-02-10 02:38:03 UTC) #24
commit-bot: I haz the power
Committed patchset #15 (id:270001)
5 years, 10 months ago (2015-02-10 03:33:03 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-02-10 03:33:47 UTC) #26
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/67cce527f37cb11e351333f65b18d0e25b0d2304
Cr-Commit-Position: refs/heads/master@{#315487}

Powered by Google App Engine
This is Rietveld 408576698