Skip to content

Commit

Permalink
Merge pull request #6604 from nextcloud/backport/6601/stable30
Browse files Browse the repository at this point in the history
[stable30] test(cypress): More specific selector for viewer header in links test
  • Loading branch information
mejo- authored Nov 7, 2024
2 parents d8ba06c + 1821ce8 commit 379366a
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 379366a

Please sign in to comment.