TagSpaces is an offline, open source, document manager with tagging support
e2e fixes
Stanimir1bcbe6691314
diff --git a/playwright.config.common.js b/playwright.config.common.jsindex 9f0b56ea1..765a3e341 100644--- a/playwright.config.common.js+++ b/playwright.config.common.js@@ -7,7 +7,7 @@ const pwConfig = {// grep: /.*\.pw\.js$/,testMatch: /.*\.pw\.e2e\.js/,// Set the timeout for each test- timeout: process.env.CI ? 60000 : 300000,+ timeout: process.env.CI ? 120000 : 300000,// (2 hours) Maximum time in milliseconds the whole test suite can run. Useful on CI to prevent broken setup from running too long and wasting resources.globalTimeout: process.env.CI ? 2 * 60 * 60 * 1000 : undefined,ignoreSnapshots: !process.env.CI,diff --git a/tests/e2e/folderprops.pw.e2e.js b/tests/e2e/folderprops.pw.e2e.jsindex 953cab11d..1ad5b3f00 100644--- a/tests/e2e/folderprops.pw.e2e.js+++ b/tests/e2e/folderprops.pw.e2e.js@@ -91,8 +91,15 @@ test.describe('TST02 - Folder properties', () => {await clickOn('[data-tid=reloadFolderTID]');- propsTags = await getPropertiesTags();- expect(propsTags).toContain(tagTitle);+ // propsTags = await getPropertiesTags();+ // expect(propsTags).toContain(tagTitle);+ await expectElementExist(+ '[data-tid=PropertiesTagsSelectTID] [data-tid=tagContainer_' ++ tagTitle ++ ']',+ true,+ 4000+ );const editor = await global.client.waitForSelector('[data-tid=descriptionTID] .milkdown'