Skip to content

Commit

Permalink
Fixed the failing cypress test in tabs.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-Dustin committed Mar 4, 2022
1 parent c49fb7e commit 7c6b70f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
});
});

Expand Down

0 comments on commit 7c6b70f

Please sign in to comment.