This commit is contained in:
Asier Isayas
2025-12-17 11:24:42 -08:00
parent 8809ba6cd2
commit 2e8e02f75b

View File

@@ -121,9 +121,8 @@ test.describe.serial("Upload Item", () => {
await containerMenuNode.element.click(); await containerMenuNode.element.click();
}); });
test.afterEach("Delete Test Database and Upload Document Temp Directory", async () => { test.afterEach("Delete Test Database and uploadDocument.json", async () => {
if (existsSync(uploadDocumentFilePath)) { if (existsSync(uploadDocumentFilePath)) {
// Delete the temp directory after test
unlinkSync(uploadDocumentFilePath); unlinkSync(uploadDocumentFilePath);
} }
await context?.dispose(); await context?.dispose();