Skip to content

Commit 04a574d

Browse files
authored
fix: add wait for field data test
Signed-off-by: Joey Liu <55552896+Maosaic@users.noreply.github.com>
1 parent 1e32f86 commit 04a574d

File tree

1 file changed

+1
-0
lines changed
  • cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer

1 file changed

+1
-0
lines changed

cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/field_data.spec.js

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ describe('discover tab', () => {
6969
// add this line to address flakiness in Cypress:
7070
// ensures stable switching to the new Discover table format.
7171
cy.switchDiscoverTable('new');
72+
cy.waitForSearch();
7273
const expectedHitCount = '11,156';
7374
cy.setTopNavQuery('type:apache');
7475
cy.verifyHitCount(expectedHitCount);

0 commit comments

Comments
 (0)