From 227df0406f3edaba75f6c1a36e93a9d7fcf40bb7 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 13:34:15 +0800 Subject: [PATCH] skip flaky tests (#966) (#973) Signed-off-by: Qingyang(Abby) Hu (cherry picked from commit 652537e1833c1ab639c73a214cfc17a8efad69d3) Co-authored-by: Qingyang(Abby) Hu --- .../apps/data_explorer/discover.spec.js | 6 ++++-- .../apps/data_explorer/doc_navigation.spec.js | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/discover.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/discover.spec.js index f7d28e7c6..f4c766d2b 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/discover.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/discover.spec.js @@ -146,7 +146,8 @@ describe('discover app', { scrollBehavior: false }, () => { } ); - describe('nested query', () => { + // https://github.com/opensearch-project/OpenSearch-Dashboards/issues/5495 + describe.skip('nested query', () => { before(() => { cy.setTopNavDate(DE_DEFAULT_START_TIME, DE_DEFAULT_END_TIME); cy.waitForSearch(); @@ -158,7 +159,8 @@ describe('discover app', { scrollBehavior: false }, () => { }); }); - describe('data-shared-item', function () { + // https://github.com/opensearch-project/OpenSearch-Dashboards/issues/5495 + describe.skip('data-shared-item', function () { it('should have correct data-shared-item title and description', () => { const expected = { title: 'A Saved Search', diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/doc_navigation.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/doc_navigation.spec.js index 07c957905..747ac8013 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/doc_navigation.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/doc_navigation.spec.js @@ -89,6 +89,8 @@ describe('doc link in discover', () => { cy.waitForSearch(); + cy.wait(500); + cy.getElementByTestId(`docTableExpandToggleColumn-0`) .should('be.visible') .click();