Skip to content

Commit

Permalink
test(cypress): Fix selector for viewer title in Nextcloud 28
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Jul 17, 2023
1 parent 06d6da6 commit d882dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/pages-links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('Page Link Handling', function() {
expect(loc.pathname).to.eq(sourceUrl.pathname)
expect(loc.search).to.eq(sourceUrl.search)
})
cy.get('.modal-title').should('contain', fileName)
cy.get('.modal-header').should('contain', fileName)
cy.get(`.viewer__content > ${viewerFileElement}.viewer__file`).should('exist')

cy.get('.modal-header > .icons-menu > button.header-close')
Expand Down

0 comments on commit d882dd6

Please sign in to comment.