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

Fix flaky SO import tests #97586

Merged

Conversation

pgayvallet
Copy link
Contributor

@pgayvallet pgayvallet commented Apr 20, 2021

Summary

Fix #95660
Fix #95706

Comment on lines -338 to +337
await PageObjects.common.clickConfirmOnModal(false);
await PageObjects.common.clickConfirmOnModal(true);
Copy link
Contributor Author

@pgayvallet pgayvallet Apr 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what was causing the flakiness.

When adding the tests in FTR tests in #76482, I had to add a manual delay between the first and second modal because the second one is appearing directly, so we can't rely on the ensureHidden option of clickConfirmOnModal. However I forgot to properly await the modal to close after the second click.

@pgayvallet
Copy link
Contributor Author

Flaky test runner - 150 executions - success: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1473/

@pgayvallet pgayvallet added release_note:fix release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.14.0 labels Apr 20, 2021
@pgayvallet pgayvallet marked this pull request as ready for review April 20, 2021 09:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@pgayvallet pgayvallet requested a review from a team April 20, 2021 10:37
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@pgayvallet pgayvallet merged commit 12c2e7e into elastic:master Apr 20, 2021
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Apr 20, 2021
* Fix flaky SO import tests

* [will be reverted] remove all tests from CI group 8

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007e

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007e
pgayvallet added a commit that referenced this pull request Apr 20, 2021
* Fix flaky SO import tests

* [will be reverted] remove all tests from CI group 8

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007e

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.13.0
Projects
None yet
4 participants