From 7c6b70fea269fe137690368f37fb8b7f89df2dfb Mon Sep 17 00:00:00 2001 From: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com> Date: Fri, 4 Mar 2022 10:44:37 -0500 Subject: [PATCH] Fixed the failing cypress test in tabs.test.js --- .../cypress-base/cypress/integration/sqllab/tabs.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}`); }); });