Skip to content

Commit

Permalink
Merge pull request #2223 from nextcloud/backport/2222/stable28
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Mar 10, 2024
2 parents 772b2ed + 709bb20 commit 00e8dc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cypress/e2e/sharing/download-share-disabled.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ describe(`Download ${fileName} in viewer`, function() {
.and('not.have.class', 'icon-loading')
})

it('See the title on the viewer header but not the Download button', function() {
it('See the title on the viewer header but not the Download nor the menu button', function() {
cy.get('body > .viewer .modal-name').should('contain', 'image1.jpg')
cy.get('body > .viewer .modal-header a.action-item .download-icon').should('not.exist')
cy.get('body a[download="image1.jpg"]').should('not.exist')
cy.get('body > .viewer .modal-header button.action-item__menutoggle').should('not.exist')
cy.get('body > .viewer .modal-header button.header-close').should('be.visible')
})

Expand Down

0 comments on commit 00e8dc2

Please sign in to comment.