Skip to content

Commit

Permalink
ci(cypress): Fix version selectors
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Oct 25, 2023
1 parent 0926658 commit 623393f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/versions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 623393f

Please sign in to comment.