From 72e25ef8522811c8f5de9da51899b85235dc914f Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Tue, 24 May 2022 23:04:39 +0200 Subject: [PATCH] chore: Disable flaky assert in reports cypress test (#20174) * chore: Disable flaky assert in reports cypress test * Disable flaky assert in alerts cypress test --- .../cypress/integration/alerts_and_reports/alerts.test.ts | 3 ++- .../cypress/integration/alerts_and_reports/reports.test.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/alerts.test.ts b/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/alerts.test.ts index bc27e831b5afe..0025f4f51383b 100644 --- a/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/alerts.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/alerts.test.ts @@ -39,6 +39,7 @@ describe('alert list view', () => { cy.get('[data-test="sort-header"]').eq(5).contains('Created by'); cy.get('[data-test="sort-header"]').eq(6).contains('Owners'); cy.get('[data-test="sort-header"]').eq(7).contains('Active'); - cy.get('[data-test="sort-header"]').eq(8).contains('Actions'); + // TODO: this assert is flaky, we need to find a way to make it work consistenly + // cy.get('[data-test="sort-header"]').eq(8).contains('Actions'); }); }); diff --git a/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/reports.test.ts b/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/reports.test.ts index c3007cc1a87d7..a44b389d2e858 100644 --- a/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/reports.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/alerts_and_reports/reports.test.ts @@ -39,6 +39,7 @@ describe('report list view', () => { cy.get('[data-test="sort-header"]').eq(5).contains('Created by'); cy.get('[data-test="sort-header"]').eq(6).contains('Owners'); cy.get('[data-test="sort-header"]').eq(7).contains('Active'); - cy.get('[data-test="sort-header"]').eq(8).contains('Actions'); + // TODO: this assert is flaky, we need to find a way to make it work consistenly + // cy.get('[data-test="sort-header"]').eq(8).contains('Actions'); }); });