aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-12-12 12:55:04 +0100
committerChristopher Ng <chrng8@gmail.com>2024-12-12 10:08:38 -0800
commite8b0bdc5f4e46ade1996d22d67abbf5c48672f24 (patch)
treebfd8b92e69946003397616ec4ea7b23685c206a2 /cypress
parent46573b75a6ca3157b0eaa1b4e2ee0624697b723d (diff)
downloadnextcloud-server-e8b0bdc5f4e46ade1996d22d67abbf5c48672f24.tar.gz
nextcloud-server-e8b0bdc5f4e46ade1996d22d67abbf5c48672f24.zip
perf(files_trashbin): use empty trashbin endpoint instead of batch delete requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/files_trashbin/files-trash-action.cy.ts (renamed from cypress/e2e/files_trashbin/files-list-action.cy.ts)2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/e2e/files_trashbin/files-list-action.cy.ts b/cypress/e2e/files_trashbin/files-trash-action.cy.ts
index e1fe2364e12..ee06f6c3158 100644
--- a/cypress/e2e/files_trashbin/files-list-action.cy.ts
+++ b/cypress/e2e/files_trashbin/files-trash-action.cy.ts
@@ -67,7 +67,7 @@ describe('files_trashbin: Empty trashbin action', { testIsolation: true }, () =>
// Wait for the request to finish
cy.wait('@emptyTrash').its('response.statusCode').should('eq', 204)
- cy.get('@emptyTrash.all').should('have.length', FILE_COUNT)
+ cy.get('@emptyTrash.all').should('have.length', 1)
// Trashbin should be empty
cy.get('[data-cy-files-list-row-fileid]').should('not.exist')