Skip to content

Commit

Permalink
Merge pull request #6603 from nextcloud/backport/6601/stable29
Browse files Browse the repository at this point in the history
[stable29] test(cypress): More specific selector for viewer header in links test
  • Loading branch information
mejo- authored Nov 7, 2024
2 parents b5c8c81 + ed913d5 commit 14ba161
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 @@ -62,7 +62,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 14ba161

Please sign in to comment.