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

Issue 1060973004: Enable tests related to the extensions web ui that were flaky. (Closed)

Created:
5 years, 8 months ago by hcarmona
Modified:
5 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, bruening+watch_chromium.org, glider+watch_chromium.org, timurrrr+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable tests related to the extensions web ui that were flaky. Dedupe code that disables transitions/animations in tests. Add callback for testing purposes. This callback happens when the 'Developer mode' toggle has finished resizing the 'dev-controls' div. Enable ignored a11y audits, testErrorListButtonVisibility, and drmemory. BUG=463245 Committed: https://crrev.com/9190af788e83ac0c73de9a0eb89e40b681e80436 Cr-Commit-Position: refs/heads/master@{#328415}

Patch Set 1 : Attempt 1 #

Patch Set 2 : assert -> expect #

Patch Set 3 : Hoping for better errors #

Patch Set 4 : Testing #

Total comments: 2

Patch Set 5 : Apply feedback + try another fix #

Patch Set 6 : rebase + remove comment #

Total comments: 7

Patch Set 7 : Apply feedback + fix test #

Total comments: 7

Patch Set 8 : Apply feedback #

Total comments: 2

Patch Set 9 : update comment #

Patch Set 10 : $ not always defined #

Patch Set 11 : fix attempt 2 #

Patch Set 12 : Fix attempt #

Total comments: 2

Patch Set 13 : Apply feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -69 lines) Patch
M chrome/browser/resources/extensions/extensions.js View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.js View 1 2 3 4 5 6 5 chunks +29 lines, -55 lines 0 comments Download
M chrome/test/data/webui/print_preview.js View 1 2 3 4 1 chunk +1 line, -11 lines 0 comments Download
M chrome/test/data/webui/test_api.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +24 lines, -0 lines 0 comments Download
M tools/valgrind/gtest_exclude/browser_tests.gtest-drmemory_win32.txt View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
Dan Beam
drive-by https://codereview.chromium.org/1060973004/diff/60001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/1060973004/diff/60001/chrome/test/data/webui/test_api.js#newcode227 chrome/test/data/webui/test_api.js:227: disableAnimationsAndTransitions: function() { make this static
5 years, 8 months ago (2015-04-27 18:29:58 UTC) #1
hcarmona
Please take a look and provide feedback. Thanks! https://codereview.chromium.org/1060973004/diff/60001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/1060973004/diff/60001/chrome/test/data/webui/test_api.js#newcode227 chrome/test/data/webui/test_api.js:227: disableAnimationsAndTransitions: ...
5 years, 7 months ago (2015-04-29 19:12:32 UTC) #3
not at google - send to devlin
nice https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/resources/extensions/extensions.js File chrome/browser/resources/extensions/extensions.js (right): https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/resources/extensions/extensions.js#newcode349 chrome/browser/resources/extensions/extensions.js:349: if (this.testingDeveloperModeCallback) Where is this defined? https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js File ...
5 years, 7 months ago (2015-04-29 22:03:31 UTC) #4
hcarmona
https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/resources/extensions/extensions.js File chrome/browser/resources/extensions/extensions.js (right): https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/resources/extensions/extensions.js#newcode349 chrome/browser/resources/extensions/extensions.js:349: if (this.testingDeveloperModeCallback) On 2015/04/29 22:03:31, kalman wrote: > Where ...
5 years, 7 months ago (2015-04-30 18:42:01 UTC) #5
not at google - send to devlin
lgtm https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js File chrome/browser/ui/webui/extensions/extension_settings_browsertest.js (right): https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js#newcode52 chrome/browser/ui/webui/extensions/extension_settings_browsertest.js:52: testing.Test.disableAnimationsAndTransitions(); On 2015/04/30 18:42:00, Hector Carmona wrote: > ...
5 years, 7 months ago (2015-04-30 22:47:10 UTC) #6
Dan Beam
lookin' pretty good to me... https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js File chrome/browser/ui/webui/extensions/extension_settings_browsertest.js (right): https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js#newcode52 chrome/browser/ui/webui/extensions/extension_settings_browsertest.js:52: testing.Test.disableAnimationsAndTransitions(); On 2015/04/30 22:47:10, ...
5 years, 7 months ago (2015-04-30 23:01:54 UTC) #7
hcarmona
https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js File chrome/browser/ui/webui/extensions/extension_settings_browsertest.js (right): https://codereview.chromium.org/1060973004/diff/100001/chrome/browser/ui/webui/extensions/extension_settings_browsertest.js#newcode52 chrome/browser/ui/webui/extensions/extension_settings_browsertest.js:52: testing.Test.disableAnimationsAndTransitions(); On 2015/04/30 23:01:54, Dan Beam wrote: > On ...
5 years, 7 months ago (2015-04-30 23:16:59 UTC) #8
Dan Beam
lgtm https://codereview.chromium.org/1060973004/diff/140001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/1060973004/diff/140001/chrome/test/data/webui/test_api.js#newcode50 chrome/test/data/webui/test_api.js:50: * listened to. Make all transitions and animations ...
5 years, 7 months ago (2015-04-30 23:22:04 UTC) #9
hcarmona
Timur, Any trybots I should run before re-enabling the drmemory? I ran the tests locally ...
5 years, 7 months ago (2015-05-01 16:51:32 UTC) #10
Timur Iskhodzhanov
Sorry for a long delay, I haven't seen your email before for some reason. We ...
5 years, 7 months ago (2015-05-04 18:30:04 UTC) #11
hcarmona
Updated TearDown because document and $ are not always defined.
5 years, 7 months ago (2015-05-05 16:53:44 UTC) #12
Dan Beam
lgtm https://codereview.chromium.org/1060973004/diff/220001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/1060973004/diff/220001/chrome/test/data/webui/test_api.js#newcode327 chrome/test/data/webui/test_api.js:327: if (!(typeof document === 'undefined')) { if (typeof ...
5 years, 7 months ago (2015-05-05 16:56:46 UTC) #13
hcarmona
Applied feedback. Committing. https://codereview.chromium.org/1060973004/diff/220001/chrome/test/data/webui/test_api.js File chrome/test/data/webui/test_api.js (right): https://codereview.chromium.org/1060973004/diff/220001/chrome/test/data/webui/test_api.js#newcode327 chrome/test/data/webui/test_api.js:327: if (!(typeof document === 'undefined')) { ...
5 years, 7 months ago (2015-05-05 21:13:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1060973004/240001
5 years, 7 months ago (2015-05-05 21:15:19 UTC) #17
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 7 months ago (2015-05-05 22:01:46 UTC) #18
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/9190af788e83ac0c73de9a0eb89e40b681e80436 Cr-Commit-Position: refs/heads/master@{#328415}
5 years, 7 months ago (2015-05-05 22:02:36 UTC) #19
Nico
testErrorListButtonVisibility is failing on the clang/win official builder: http://build.chromium.org/p/chromium.fyi/builders/CrWinClang%20tester/builds/617 (not sure if it's triggered by ...
5 years, 7 months ago (2015-05-06 19:33:12 UTC) #21
hcarmona
5 years, 7 months ago (2015-05-06 23:22:14 UTC) #22
Message was sent while issue was closed.
On 2015/05/06 19:33:12, Nico wrote:
> testErrorListButtonVisibility  is failing on the clang/win official builder:
>
http://build.chromium.org/p/chromium.fyi/builders/CrWinClang%20tester/builds/617
> (not sure if it's triggered by clang or by it being an official buidl)

I will create a CL to disable the failing test to get the bot green
again while I continue to investigate this failure.

Powered by Google App Engine
This is Rietveld 408576698