Skip to content

Commit

Permalink
chore(cypress): Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Feb 8, 2024
1 parent a332a65 commit 4a8cd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/sharing/download-share-disabled.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe(`Download ${fileName} in viewer`, function() {
// Open the share menu
cy.get('.sharing-link-list > .sharing-entry [aria-label*=\'Actions for "Share link"\']').click()
cy.get('.action-button:contains(\'Customize link\')').click()
cy.get('label:contains(\'Hide download\')').as('hideDownloadBtn').click()
cy.get('span:contains(\'Hide download\')').as('hideDownloadBtn').click()
cy.get('@hideDownloadBtn').prev('input[type=checkbox]').should('be.checked')

// Log out and access link share
Expand Down

0 comments on commit 4a8cd5b

Please sign in to comment.