diff --git a/cypress/cypress-integration/integration/batch-download-documents.cy.ts b/cypress/cypress-integration/integration/batch-download-documents.cy.ts index d2ba56a2b08..eacda35876a 100644 --- a/cypress/cypress-integration/integration/batch-download-documents.cy.ts +++ b/cypress/cypress-integration/integration/batch-download-documents.cy.ts @@ -69,7 +69,7 @@ const checkFileCounts = ({ }; describe('Batch Download Documents', () => { - beforeEach(() => { + afterEach(() => { const downloadPath = Cypress.config('downloadsFolder'); cy.task('deleteAllFilesInFolder', downloadPath); });