Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test(cypress): More specific selector for viewer header in links test
Fixes failing cypress test "link bubble -> closes the link bubble when
clicking elsewhere".

Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Nov 5, 2024
commit 2eacd1bfbe53c48342d8556d445bcf525247eb43
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