kibana/test
Felix Stürmer 2796e7798b Stabilize tests involving absolute timepicker (#10308)
* Stabilize tests involving absolute timepicker

The asynchronous nature of angular's digest cycle and the page rendering
in the browser can lead to situations in which
`isGlobalLoadingIndicatorHidden()` returns true because the loading
triggered by the previous action has not yet started. In this case
subsequent actions incorrectly assume the loading has already been
completed. This is probably responsible for the flakiness described in #10302.

The newly introduced `waitUntilLoadingHasFinished` first waits for a
duration up to `defaultTimeout` for the loading indicator to appear
before waiting for it to be hidden again. In the best case this will
reduce the false positive rate of `setAbsoluteTimerange()`. In the worst
case the function will wait `defaultTimeout` longer than when just using
`isGlobalLoadingIndicatorHidden`.

fixes #10302
2017-02-14 19:09:53 +01:00
..
dev_certs
fixtures [functional tests] Remove include_in_all (#10268) 2017-02-09 13:52:07 -06:00
functional Stabilize tests involving absolute timepicker (#10308) 2017-02-14 19:09:53 +01:00
screenshots/baseline Update baseline screenshots with loaded CSS. 2016-06-14 09:37:05 -07:00
scripts [ci] source the setup script instead of executing it 2016-07-05 12:46:53 -07:00
support Stabilize tests involving absolute timepicker (#10308) 2017-02-14 19:09:53 +01:00
unit/api [eslint] enable object-curly-spacing and no-global-assign (#9486) 2016-12-14 13:29:32 -07:00
utils [eslint] reenable no-extra-semi and quotes rules (#9473) 2016-12-13 18:17:47 -07:00
visual_regression [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
intern.js Try to fix another staleElementReference in data table test 2016-07-01 17:40:01 -05:00
intern_api.js Add a new GET script languages API endpoint 2016-08-29 11:26:27 -04:00
intern_visual_regression.js Create visual_regression test suite. 2016-06-21 20:50:55 -07:00
mocha.opts
mocha_setup.js babel 6 upgrade (#9702) 2017-02-09 14:48:55 -07:00
server_config.js [eslint] re-enable no-var and prefer-const (#9455) 2016-12-13 10:44:27 -07:00
shield.js Port #8880 to master Support Cloud testing (#8915) 2016-11-01 10:44:12 -05:00