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
fix(cypress): header sharing download button selector
Signed-off-by: John Molakvoæ <[email protected]>
  • Loading branch information
skjnldsv authored and backportbot-nextcloud[bot] committed Aug 15, 2023
commit beb251ec55561a21c06727d87669119133ebeaaf
4 changes: 2 additions & 2 deletions cypress/e2e/sharing/single-file-share.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('See shared folder with link share', function() {
cy.get('#imgframe > #viewer').should('be.visible')

cy.scrollTo('bottom', { ensureScrollable: false })
cy.get('a#downloadFile').should('be.visible')
cy.get(`#header a[href*="/s/${imageToken}/download"]`).should('be.visible')
})

it('Opens the shared video in the viewer', function() {
Expand All @@ -61,6 +61,6 @@ describe('See shared folder with link share', function() {
cy.get('#imgframe > #viewer').should('be.visible')

cy.scrollTo('bottom', { ensureScrollable: false })
cy.get('a#downloadFile').should('be.visible')
cy.get(`#header a[href*="/s/${videoToken}/download"]`).should('be.visible')
})
})