Skip to content

Commit

Permalink
Activate test for ACLs on deleted folders
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Dec 4, 2023
1 parent 1bab814 commit 2cf965e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/groupfolders.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ describe('Groupfolders ACLs and trashbin behavior', () => {
fileOrFolderDoesNotExist('subfolder1')

// Delete files
cy.log('Deleting the files')
cy.login(managerUser)
cy.visit('/apps/files')
enterFolder(groupFolderName)
Expand All @@ -135,6 +136,7 @@ describe('Groupfolders ACLs and trashbin behavior', () => {
fileOrFolderDoesNotExistInTrashbin('subfolder2')

// Restore files
cy.log('Restoring the files')
cy.login(managerUser)
cy.visit('/apps/files/trashbin')
fileOrFolderExistsInTrashbin('file1.txt')
Expand All @@ -159,7 +161,7 @@ describe('Groupfolders ACLs and trashbin behavior', () => {
fileOrFolderDoesNotExist('subfolder1')
})

it.skip('ACL directly on deleted folder', () => {
it('ACL directly on deleted folder', () => {
// Create a subfolders and a file as manager
cy.login(managerUser)
cy.mkdir(managerUser, `/${groupFolderName}/subfolder1`)
Expand Down

0 comments on commit 2cf965e

Please sign in to comment.