-
Notifications
You must be signed in to change notification settings - Fork 114
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
[Enhancement] Random failure on embed.spec.js due to click too early #1431
Comments
Instead of waits, I think we should try changing these to |
Also this applies to all the tests in this file that come into the Dom after the page has loaded |
Apparently this PR is missed in backports, thus showing all these errors here: cc: @ashwin-pc @abbyhu2000 |
Coming from opensearch-project/opensearch-build#4745
After some debugging we realize if adding 2000ms wait before the click, test would pass consistently suggesting the element needs time to load in https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/d486264c185825729f60a1e135b01a9c12c29eed/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_type_table/embed.spec.js
We need some proper way to fix this permanently as well as other similar cases.
Thanks.
The text was updated successfully, but these errors were encountered: