DescriptionMD Settings: Fix and re-enable settings-main tests.
- Updated cases where the code had rotten (for example functions
that used to return synchronously now return a Promise).
- Updated test logic where Polymer.dom.flush() was not sufficient
anymore, to use a MutationObserer (for detecting visibility changes).
- Re-enable tests an all platforms, for non-debug builds. Debug builds
remain disabled.
The tests still use the real chrome.settingsPrivate API, which makes it
likely that they could flake (timeout). Will address that if it happens.
BUG=667882
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2863213002
Cr-Commit-Position: refs/heads/master@{#470123}
Committed: https://chromium.googlesource.com/chromium/src/+/1510abbfe7ba6d200cfcc0f461c5a38c761fa353
Patch Set 1 #Patch Set 2 : Fix more #Patch Set 3 : Nit #
Total comments: 5
Patch Set 4 : Address comments. #
Messages
Total messages: 21 (15 generated)
|