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

Issue 2036763003: MD User Manager: Fixes flaky tests (Closed)

Created:
4 years, 6 months ago by Moe
Modified:
4 years, 6 months ago
Reviewers:
michaelpg
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

MD User Manager: Fixes flaky tests 1) Call setTimeout after each test. user_manager.js includes a bunch of other js files that do operations asynchronously. This is to make sure those operations are done after each test. 2) Do not clear <body> before the tests execute. js files included in the user_manager.js expect some elements to exist on the page. Therefore we can't test MD User Manager Polymer elements in isolation. BUG=563722, 613191 Committed: https://crrev.com/0b328a01eaa0ce82bd374c26f2ba72de098e6d2d Cr-Commit-Position: refs/heads/master@{#397715}

Patch Set 1 : Initial #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
M chrome/test/data/webui/md_user_manager/control_bar_tests.js View 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/test/data/webui/md_user_manager/create_profile_tests.js View 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_user_manager/import_supervised_user_tests.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/webui/md_user_manager/user_manager_browsertest.js View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_user_manager/user_manager_pages_tests.js View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Moe
Hi Michael, Please review this CL.
4 years, 6 months ago (2016-06-03 13:56:05 UTC) #4
michaelpg
Have you been able to determine whether this actually reduces flakiness? (either way lgtm)
4 years, 6 months ago (2016-06-03 14:00:09 UTC) #6
Moe
On 2016/06/03 14:00:09, michaelpg wrote: > Have you been able to determine whether this actually ...
4 years, 6 months ago (2016-06-03 14:16:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2036763003/20001
4 years, 6 months ago (2016-06-03 14:17:47 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 6 months ago (2016-06-03 15:27:07 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 15:29:07 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0b328a01eaa0ce82bd374c26f2ba72de098e6d2d
Cr-Commit-Position: refs/heads/master@{#397715}

Powered by Google App Engine
This is Rietveld 408576698