mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Backports PR #10308 **Commit 1:** 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 * Original sha: |
||
---|---|---|
.. | ||
_creation_form_changes.js | ||
_index_pattern_create_delete.js | ||
_index_pattern_popularity.js | ||
_index_pattern_results_sort.js | ||
_initial_state.js | ||
_kibana_settings.js | ||
_scripted_fields.js | ||
index.js |