Open peterzhuamazon opened 2 months ago
Before certain stuck we can clearly see there uncaught exceptions:
Instead of waits, I think we should try changing these to should('be.visible')
in the cy.tbClickFilterFromExpand
helper before executing the clicks.
Also this applies to all the tests in this file that come into the Dom after the page has loaded
Before certain stuck we can clearly see there uncaught exceptions:
Apparently this PR is missed in backports, thus showing all these errors here:
cc: @ashwin-pc @abbyhu2000 Thanks!
Coming from https://github.com/opensearch-project/opensearch-build/issues/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.