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

[BUG][Discover] Table rendering flakiness in integ tests #5495

Open
abbyhu2000 opened this issue Nov 17, 2023 · 0 comments
Open

[BUG][Discover] Table rendering flakiness in integ tests #5495

abbyhu2000 opened this issue Nov 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent

Comments

@abbyhu2000
Copy link
Member

abbyhu2000 commented Nov 17, 2023

Describe the bug
The discover table rendering seems to be flaky, and it causes some tests fail like below. The tests depend on 'docTable' (the discover table) to render correctly, however, it seems like the table fails to render so element [data-test-subj="docTable"] is never found.

The tests all pass correctly locally, however, it is flaky on the CI.

1) discover app (CiGroup6)
       nested query
         "before all" hook for "should support querying on nested fields":
     AssertionError: Timed out retrying after 60000ms: Expected to find element: `[data-test-subj="docTable"]`, but never found it.

Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `nested query`
      at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/support/index.js:461:13)

  2) discover app (CiGroup6)
       data-shared-item
         should have correct data-shared-item title and description:
     AssertionError: Timed out retrying after 60000ms: Expected to find element: `[data-test-subj="docTable"]`, but never found it.
      at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/support/index.js:[461](https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/6855751194/job/18764087133#step:17:462):13)

3)   doc link in discover (CiGroup7)
       if value is null, add filter should create a non-exist filter:
     AssertionError: Timed out retrying after 60000ms: Expected to find element: `[data-test-subj~="filter-negated"]`, but never found it.
      at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/doc_navigation.spec.js:150:50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent
Projects
None yet
Development

No branches or pull requests

4 participants