diff --git a/superset-frontend/cypress-base/cypress/integration/sqllab/tabs.test.js b/superset-frontend/cypress-base/cypress/integration/sqllab/tabs.test.js index b7544ed8bf52f..24dd074992b02 100644 --- a/superset-frontend/cypress-base/cypress/integration/sqllab/tabs.test.js +++ b/superset-frontend/cypress-base/cypress/integration/sqllab/tabs.test.js @@ -31,11 +31,11 @@ describe('SqlLab query tabs', () => { cy.get('[data-test="sql-editor-tabs"]') .children() .eq(0) - .contains(`Untitled Query ${initialTabCount + 1}`); + .contains(`Untitled Query ${initialTabCount}`); cy.get('[data-test="sql-editor-tabs"]') .children() .eq(0) - .contains(`Untitled Query ${initialTabCount + 2}`); + .contains(`Untitled Query ${initialTabCount + 1}`); }); });