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 eda296f956a13..7674acbc1872f 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 39dafc1a44ce3..b4b57c312fbd9 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 11a45e2d100d7..42f790f34b7e1 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 0a932d40f6a7e..f272c3804ae3d 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', () => {