Skip to content

Commit

Permalink
fix: file list item selector
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody committed Sep 17, 2024
1 parent f88d050 commit 5d89d1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cypress/e2e/share-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ describe('Public sharing of office documents', function() {
},
})

cy.get('tr[data-file="document.odt"] a.name').click()
cy.get('button[data-cy-files-list-row-name-link=""]')
.click()

cy.waitForViewer()
cy.waitForCollabora()
Expand All @@ -109,7 +110,7 @@ describe('Public sharing of office documents', function() {
},
})

cy.get('tr[data-file="document.odt"] a.name').click()
cy.get('button[data-cy-files-list-row-name-link=""]').click()

cy.inputCollaboraGuestName(guestName)
cy.waitForViewer()
Expand Down

0 comments on commit 5d89d1e

Please sign in to comment.