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 eda296f956a..7674acbc187 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 39dafc1a44c..b4b57c312fb 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 11a45e2d100..42f790f34b7 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 0a932d40f6a..f272c3804ae 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', () => {