Chromium Code Reviews
DescriptionMD 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 #
Messages
Total messages: 14 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||