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>
This commit is contained in:
nfebe 2025-05-14 15:24:55 +01:00 committed by Andy Scherzinger
parent bd46760586
commit 28ae3d3038

View file

@ -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()
// 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.')
})
})
})