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 model list tests (#192851) #192869

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 the model list tests by adding a wait for global
loading before checking the collapsed action button.

### Details

I was able to reproduce the original failure by running the test suite
in my local browser with network speed throttled to 3G: after stopping a
model deployment, the row actions change and during that time the global
loading is active. Checking the collapsed action button too early (i.e.
before global loading finished) returns a false positive and then the
next step will try to click that button which in the mean time
disappeared. Adding the wait for global loading before checking the
collapsed actions button fixed for my local runs with throttling.

Closes elastic#175443

(cherry picked from commit c1b7d82)
@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 6d066c2 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