TagSpaces is an offline, open source, document manager with tagging support
fix: e2e tests
Ilian Sapundshiev8853923aa41a
diff --git a/tests/e2e/location.pw.e2e.js b/tests/e2e/location.pw.e2e.jsindex 8621c93bd..c4af18253 100644--- a/tests/e2e/location.pw.e2e.js+++ b/tests/e2e/location.pw.e2e.js@@ -200,8 +200,10 @@ test.describe('TST03 - Testing locations:', () => {await openLocationMenu(locationFolderName);await clickOn('[data-tid=indexLocation]');//await global.client.waitForTimeout(880000);+ // textContent used to live inline in tsi.json; since the split it is+ // persisted to tsft.jsonl (see LocationIndexContextProvider.persistIndex).const indexFileContent =- '[{"name":"testFolder","path":"testFolder","meta":{"description":"test folder desc"},"isFile":false},{"name":"test_file1[tag1 tag2].md","path":"test_file1[tag1 tag2].md","meta":{"description":"test file 1 desc"},"isFile":true,"textContent":"test md file 1","extension":"md"},{"name":"test_file2[tag3 tag4].txt","path":"test_file2[tag3 tag4].txt","meta":{"description":"test file 2 desc"},"isFile":true,"textContent":"test txt file 2","extension":"txt"}]';+ '[{"name":"testFolder","path":"testFolder","meta":{"description":"test folder desc"},"isFile":false},{"name":"test_file1[tag1 tag2].md","path":"test_file1[tag1 tag2].md","meta":{"description":"test file 1 desc"},"isFile":true,"extension":"md"},{"name":"test_file2[tag3 tag4].txt","path":"test_file2[tag3 tag4].txt","meta":{"description":"test file 2 desc"},"isFile":true,"extension":"txt"}]';//await setFileTypeExtension('json');const rootFolder = locationFolderName + '/' + AppConfig.metaFolder;// await global.client.waitForTimeout(180000);