TagSpaces is an offline, open source, document manager with tagging support
fix: e2e tests for the location tags
Ilian Sapundshiev0a3fda613157
diff --git a/tests/e2e/tag.pw.e2e.js b/tests/e2e/tag.pw.e2e.jsindex edcc1a799..86bda957b 100644--- a/tests/e2e/tag.pw.e2e.js+++ b/tests/e2e/tag.pw.e2e.js@@ -453,7 +453,12 @@ test.describe('TST04 - Testing the tag library:', () => {//TODO check in tsl.json content});- test('TST0427 - Load tag groups from location after app restart [web,s3,electron,_pro]', async ({+ // Not tagged `web`: the web build intentionally blacklists the `locations`+ // redux slice from persistence (locations may hold S3 credentials — see+ // reducers/index.ts), so locations don't survive a reload there and the+ // "load location tag groups after restart" scenario can't apply. Electron+ // persists locations, so the restart guard is exercised on electron-s3.+ test('TST0427 - Load tag groups from location after app restart [s3,electron,_pro]', async ({isS3,testDataDir,}) => {@@ -497,7 +502,10 @@ test.describe('TST04 - Testing the tag library:', () => {);});- test('TST0428 - Created location tag group survives app restart [web,s3,electron,_pro]', async ({+ // Not tagged `web` for the same reason as TST0427: locations are not+ // persisted in the browser, so a location tag group can't reappear after a+ // web reload. Restart persistence is verified on electron-s3.+ test('TST0428 - Created location tag group survives app restart [s3,electron,_pro]', async ({isS3,testDataDir,}) => {