Skip to content

Commit

Permalink
Merge pull request #6601 from nextcloud/fix/cypress_link_viewer_header
Browse files Browse the repository at this point in the history
test(cypress): More specific selector for viewer header in links test
  • Loading branch information
juliusknorr authored Nov 5, 2024
2 parents c34ed85 + 2eacd1b commit 9c462e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/nodes/Links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ describe('test link marks', function() {
.find('.widget-default--name')
.contains('Nextcloud')

cy.get('[role="dialog"] h2.modal-header__name').click()
cy.get('[role="dialog"] h2.modal-header__name')
.contains(fileName)
.click()

cy.get('.link-view-bubble .widget-default')
.should('not.exist')
Expand Down

0 comments on commit 9c462e0

Please sign in to comment.