From 623393f970e0d7743cac1306412cc11efc35c788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 25 Oct 2023 13:25:20 +0200 Subject: [PATCH] ci(cypress): Fix version selectors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/e2e/versions.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/versions.spec.js b/cypress/e2e/versions.spec.js index 5d42cb2f56b..cf345b2b9cb 100644 --- a/cypress/e2e/versions.spec.js +++ b/cypress/e2e/versions.spec.js @@ -25,7 +25,7 @@ describe('Versions', () => { cy.get('[data-cy-files-list-row-name="' + versionFileName + '"] [data-cy-files-list-row-mtime]').click() cy.get('.app-sidebar-header').should('be.visible').should('contain', versionFileName) - cy.get('.app-sidebar-tabs__tab[data-id="version_vue"]').click() + cy.get('.app-sidebar-tabs__tab:contains("Versions")').click() cy.get('[data-files-versions-versions-list] li > a').should('have.length', 3) cy.get('[data-files-versions-versions-list] li > a').eq(1).click() @@ -58,7 +58,7 @@ describe('Versions', () => { cy.get('.app-sidebar-header').should('be.visible').should('contain', versionFileName) - cy.get('.app-sidebar-tabs__tab[data-id="version_vue"]').click() + cy.get('.app-sidebar-tabs__tab:contains("Versions")').click() cy.get('[data-files-versions-versions-list] li > a').should('have.length', 3) @@ -95,7 +95,7 @@ describe('Versions', () => { cy.get('.app-sidebar-header').should('be.visible').should('contain', versionFileName) - cy.get('.app-sidebar-tabs__tab[data-id="version_vue"]').click() + cy.get('.app-sidebar-tabs__tab:contains("Versions")').click() cy.get('[data-files-versions-versions-list] li > a').should('have.length', 3)