-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Stabilize dashboard snapshot toast closing #58709
Stabilize dashboard snapshot toast closing #58709
Conversation
Jenkins, test this. |
Pinging @elastic/kibana-app (Team:KibanaApp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I ran it 25 times and did not see any failures. Thanks @flash1293 !
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Fixes #58707
The dashboard snapshot tests add a visualization and try to close the success toast afterwards. If the timing is bad, the toast can auto-close before the tries gets to closing it which will result in an error because the
closeToast
function fails if there is no toast to close.This PR adds a new function
closeToastIfExists
which will not fail in this scenario and uses it for the dashboard snapshot tests