test(file_sharing): Do not open advanced settings manually

If a share note is present, the advanced settings should expand automatically,
without the user needing to click.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
pull/52813/head
nfebe 5 months ago committed by F. E Noel Nfebe
parent 63cf3f53c3
commit 7810a9005e
  1. 3
      cypress/e2e/files_sharing/note-to-recipient.cy.ts

@ -80,8 +80,6 @@ describe('files_sharing: Note to recipient', { testIsolation: true }, () => {
cy.get('[data-cy-sidebar]').within(() => {
// Open the share
cy.get('[data-cy-files-sharing-share-actions]').first().click({ force: true })
// Open the custom settings
cy.get('[data-cy-files-sharing-share-permissions-bundle="custom"]').click()
cy.findByRole('checkbox', { name: /note to recipient/i })
.and('be.checked')
@ -90,4 +88,5 @@ describe('files_sharing: Note to recipient', { testIsolation: true }, () => {
.and('have.value', 'Hello, this is the note.')
})
})
})

Loading…
Cancel
Save