diff --git a/superset-frontend/cypress-base/cypress/integration/explore/control.test.ts b/superset-frontend/cypress-base/cypress/integration/explore/control.test.ts index b316d5c12e899..804fffafa21bd 100644 --- a/superset-frontend/cypress-base/cypress/integration/explore/control.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/explore/control.test.ts @@ -118,16 +118,18 @@ describe('Test datatable', () => { cy.login(); interceptChart({ legacy: false }).as('tableChartData'); interceptChart({ legacy: true }).as('lineChartData'); + cy.visitChartByName('Daily Totals'); }); it('Data Pane opens and loads results', () => { cy.get('[data-test="data-tab"]').click(); - cy.get('[data-test="row-count-label"]').contains('27 rows retrieved'); + cy.get('[data-test="row-count-label"]').contains('26 rows retrieved'); cy.contains('View results'); cy.get('.ant-empty-description').should('not.exist'); }); it('Datapane loads view samples', () => { + cy.get('[data-test="data-tab"]').click(); cy.contains('View samples').click(); - cy.get('[data-test="row-count-label"]').contains('1k rows retrieved'); + cy.get('[data-test="row-count-label"]').contains('10k rows retrieved'); cy.get('.ant-empty-description').should('not.exist'); }); });