* #6701 Report storage tests
Functional and unit tests
* #6701 Test cleanup
* #6701 js-storage teardown
The first time js-storage is required it evaluates if it's running in the browser or not: https://github.com/julien-maurel/js-storage/blob/master/js.storage.js#L423 and will define the localstorage getters and setters accordingly. This becomes an issue if testing localstorage between UI and non-UI tests. reportstorage.test.js was requiring it before hashauth.test.js causing a conflict.
* #6701 false positive test
The page isn't refreshing
Co-authored-by: Sulka Haro <sulka@sulka.net>
* Auth resolve now supports async/await
* Read only tokens can be used for authentication and the UI shows privileges for these accounts correctly
* Failed attempt at authenticating an API_SECRET or token delays subsequent auth attempt by 5000 ms
because it times out with 40000ms on Travis with Node 10. See https://travis-ci.org/PieterGit/cgm-remote-monitor/jobs/401307860
not ok 192 pluginbase does stuff
AssertionError: expected -1 to be above -1
at Assertion.fail (node_modules/should/cjs/should.js:275:17)
at Assertion.value (node_modules/should/cjs/should.js:356:19)
at containsLine (tests/hashauth.test.js:163:41)
at Window.mockConfirm [as alert] (tests/hashauth.test.js:165:7)
at Object.u.addBasals (tmp/js/bundle.js:9:2577816)
at Object.o.scroll (tmp/js/bundle.js:9:2485436)
at V (tmp/js/bundle.js:9:3092518)
at Timeout.e [as _onTimeout] (tmp/js/bundle.js:9:3106675)
# tests 192
# pass 191
# fail 1