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 97bf2cc9be854..83ea23a571444 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 @@ -32,6 +32,8 @@ describe('alert list view', () => { cy.get('[data-test="listview-table"]').should('be.visible'); // check alert list view header + cy.wait(500); + /// cy.get('[data-test="sort-header"]').debug() cy.get('[data-test="sort-header"]').eq(1).contains('Last run'); cy.get('[data-test="sort-header"]').eq(2).contains('Name'); cy.get('[data-test="sort-header"]').eq(3).contains('Schedule'); @@ -40,7 +42,7 @@ describe('alert list view', () => { cy.get('[data-test="sort-header"]').eq(6).contains('Owners'); cy.get('[data-test="sort-header"]').eq(7).contains('Modified'); // TODO: this assert is flaky, we need to find a way to make it work consistenly - // cy.get('[data-test="sort-header"]').eq(7).contains('Active'); - // cy.get('[data-test="sort-header"]').eq(8).contains('Actions'); + cy.get('[data-test="sort-header"]').eq(7).contains('Active'); + 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 a44b389d2e858..ea117c507a6d6 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 @@ -38,8 +38,9 @@ describe('report list view', () => { cy.get('[data-test="sort-header"]').eq(4).contains('Notification method'); 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(7).contains('Modified'); // TODO: this assert is flaky, we need to find a way to make it work consistenly + // cy.get('[data-test="sort-header"]').eq(7).contains('Active'); // cy.get('[data-test="sort-header"]').eq(8).contains('Actions'); }); });