TagSpaces is an offline, open source, document manager with tagging support
fix e2e
sytolkb8cf1af6aa0e
diff --git a/tests/e2e/fileopener.pw.e2e.js b/tests/e2e/fileopener.pw.e2e.jsindex 456aa7365..99aa63361 100644--- a/tests/e2e/fileopener.pw.e2e.js+++ b/tests/e2e/fileopener.pw.e2e.js@@ -34,7 +34,7 @@ import { createFile, startTestingApp, stopApp, testDataRefresh } from './hook';import { clearDataStorage } from './welcome.helpers';import { dataTidFormat } from '../../src/renderer/services/test';-test.beforeAll(async () => {+/*test.beforeAll(async () => {await startTestingApp('extconfig.js');// await clearDataStorage();});@@ -42,17 +42,19 @@ test.beforeAll(async () => {test.afterAll(async () => {await stopApp();// await testDataRefresh();-});+});*/test.afterEach(async ({ page }, testInfo) => {if (testInfo.status !== testInfo.expectedStatus) {await takeScreenshot(testInfo);}await clearDataStorage();+ await stopApp();await testDataRefresh();});test.beforeEach(async () => {+ await startTestingApp('extconfig.js');if (global.isMinio) {await createPwMinioLocation('', defaultLocationName, true);} else {