diff --git a/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts b/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts index eda296f95..7674acbc1 100644 --- a/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/chart_list/card_view.test.ts @@ -23,6 +23,7 @@ describe('chart card view', () => { cy.login(); cy.server(); cy.visit(CHART_LIST); + cy.get('[data-test="card-view"]').click(); }); it('should load cards', () => { diff --git a/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts b/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts index 39dafc1a4..b4b57c312 100644 --- a/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts @@ -23,6 +23,7 @@ describe('chart filters', () => { cy.login(); cy.server(); cy.visit(CHART_LIST); + cy.get('[data-test="card-view"]').click(); }); it('should filter by owners correctly', () => { diff --git a/superset-frontend/cypress-base/cypress/integration/dashboard_list/card_view.test.ts b/superset-frontend/cypress-base/cypress/integration/dashboard_list/card_view.test.ts index 11a45e2d1..42f790f34 100644 --- a/superset-frontend/cypress-base/cypress/integration/dashboard_list/card_view.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/dashboard_list/card_view.test.ts @@ -23,6 +23,7 @@ describe('Dashboard card view', () => { cy.login(); cy.server(); cy.visit(DASHBOARD_LIST); + cy.get('[data-test="card-view"]').click(); }); it('should load cards', () => { diff --git a/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts b/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts index 0a932d40f..f272c3804 100644 --- a/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts @@ -23,6 +23,7 @@ describe('dashboard filters', () => { cy.login(); cy.server(); cy.visit(DASHBOARD_LIST); + cy.get('[data-test="card-view"]').click(); }); it('should filter by owners correctly', () => {