Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [ML] Functional tests - stabilize forecast tests (#192737) #192861

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

This PR stabilizes and re-enables the forecast tests in the ML
permission and results view test suites by waiting for global loading to
finish before checking the forecast `Run` button state.

### Details

I was able to reproduce the original failures by running the test suites
in my local browser with network speed throttled to `3G`: the forecast
modal opened and the `Run` button was disabled during global page
loading, so the enabled check failed. Introducing the global loading
wait fixed the tests for the throttled local runs.

Closes elastic#189565
Closes elastic#189537
Closes elastic#164381

(cherry picked from commit e528c8b)
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @pheyos

@kibanamachine kibanamachine merged commit ce00858 into elastic:8.x Sep 13, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants