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

Issue 2341493003: MD Settings: Deflake attempt for CrSettingsPrivacyPageTest.PrivacyPage. (Closed)

Created:
4 years, 3 months ago by dpapad
Modified:
4 years, 3 months ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Deflake attempt for CrSettingsPrivacyPageTest.PrivacyPage. In one of the test cases, showModal() was called after the dialog had already been removed from the DOM from tearDown(). BUG=642574 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/5e840a17185f5ee1fd26750fefff0770dd510a64 Cr-Commit-Position: refs/heads/master@{#418953}

Patch Set 1 : Fix #

Total comments: 4

Patch Set 2 : Use MutationObserver, refactor. #

Total comments: 4

Patch Set 3 : Check for specific value. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -54 lines) Patch
M chrome/test/data/webui/settings/about_page_tests.js View 1 3 chunks +2 lines, -16 lines 0 comments Download
M chrome/test/data/webui/settings/certificate_manager_page_test.js View 1 2 8 chunks +14 lines, -35 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/privacy_page_test.js View 1 2 1 chunk +8 lines, -1 line 0 comments Download
A chrome/test/data/webui/settings/test_util.js View 1 2 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
dpapad
4 years, 3 months ago (2016-09-14 00:18:09 UTC) #4
Dan Beam
lgtm https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js File chrome/test/data/webui/settings/privacy_page_test.js (right): https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js#newcode109 chrome/test/data/webui/settings/privacy_page_test.js:109: 'clear-browsing-data-dialog-opened', function() { can we just use 'show' ...
4 years, 3 months ago (2016-09-14 01:15:59 UTC) #5
dpapad
https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js File chrome/test/data/webui/settings/privacy_page_test.js (right): https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js#newcode109 chrome/test/data/webui/settings/privacy_page_test.js:109: 'clear-browsing-data-dialog-opened', function() { On 2016/09/14 at 01:15:58, Dan Beam ...
4 years, 3 months ago (2016-09-15 16:56:17 UTC) #6
Dan Beam
https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js File chrome/test/data/webui/settings/privacy_page_test.js (right): https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js#newcode109 chrome/test/data/webui/settings/privacy_page_test.js:109: 'clear-browsing-data-dialog-opened', function() { On 2016/09/15 16:56:17, dpapad wrote: > ...
4 years, 3 months ago (2016-09-15 17:11:06 UTC) #7
dpapad
PTAL, since I changed this CL since you LGTMed. https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js File chrome/test/data/webui/settings/privacy_page_test.js (right): https://codereview.chromium.org/2341493003/diff/20001/chrome/test/data/webui/settings/privacy_page_test.js#newcode109 chrome/test/data/webui/settings/privacy_page_test.js:109: ...
4 years, 3 months ago (2016-09-15 17:58:22 UTC) #8
Dan Beam
lgtm w/suggestion because technically your code is checking for a change but we probably want ...
4 years, 3 months ago (2016-09-15 18:17:09 UTC) #9
dpapad
https://codereview.chromium.org/2341493003/diff/40001/chrome/test/data/webui/settings/test_util.js File chrome/test/data/webui/settings/test_util.js (right): https://codereview.chromium.org/2341493003/diff/40001/chrome/test/data/webui/settings/test_util.js#newcode5 chrome/test/data/webui/settings/test_util.js:5: On 2016/09/15 at 18:17:08, Dan Beam wrote: > nit: ...
4 years, 3 months ago (2016-09-15 18:52:12 UTC) #11
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/2341493003/80001
4 years, 3 months ago (2016-09-15 18:54:30 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/2723)
4 years, 3 months ago (2016-09-15 19:06:54 UTC) #16
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/2341493003/80001
4 years, 3 months ago (2016-09-15 20:18:25 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 3 months ago (2016-09-15 20:25:01 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 20:27:24 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5e840a17185f5ee1fd26750fefff0770dd510a64
Cr-Commit-Position: refs/heads/master@{#418953}

Powered by Google App Engine
This is Rietveld 408576698