Skip to content

Commit d3b9b50

Browse files
fix: add wait for field data test (#1751) (#1752)
Signed-off-by: Joey Liu <55552896+Maosaic@users.noreply.github.com> (cherry picked from commit 5fe4c27) Co-authored-by: Joey Liu <55552896+Maosaic@users.noreply.github.com>
1 parent 127bfec commit d3b9b50

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)