diff --git a/cypress/e2e/data_layer/spec.cy.ts b/cypress/e2e/data_layer/spec.cy.ts index 0320e89e98..394bb6e745 100644 --- a/cypress/e2e/data_layer/spec.cy.ts +++ b/cypress/e2e/data_layer/spec.cy.ts @@ -116,7 +116,7 @@ describe('Data Layer', () => { afterEach(() => { cy.get('@threadHistoryFile').then((threadHistoryFile) => { // Clean up the thread history file - cy.exec(`rm ${threadHistoryFile}`); + cy.exec(`rm -f ${threadHistoryFile}`); }); });