TagSpaces is an offline, open source, document manager with tagging support
fix e2e
sytolk7e98a7e8013f
diff --git a/package-lock.json b/package-lock.jsonindex 6d4a3d2b2..90a6f7601 100644--- a/package-lock.json+++ b/package-lock.json@@ -197,7 +197,7 @@"yarn": "please-use-npm"},"optionalDependencies": {- "@tagspacespro/tagspacespro": "5.0.81"+ "@tagspacespro/tagspacespro": "5.0.83"}},"node_modules/@adobe/css-tools": {@@ -17229,9 +17229,9 @@}},"node_modules/@tagspacespro/tagspacespro": {- "version": "5.0.81",- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.81/a9ee401fdfa1fdae966991037bb310000c1590df",- "integrity": "sha512-NzxWXAH5fWjMLk8+dKvHpZQ6AmNElQRAtlbtcIPlmS7O4j5fVWumyA7hwb3e/RCCUqvTHZAE+VwygmuE0112HA==",+ "version": "5.0.83",+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.83/4396965eead210aa36f582506298d09631a73140",+ "integrity": "sha512-fOSdNvSI5wHwzTOI9Wjf/+XqBY11E5nABjQSY+7FLWzNIb6yO7berm+afF+5baR6i+5CnUkdT+4Y29K8Qas6HQ==","license": "Proprietary","optional": true},diff --git a/tests/e2e/general.helpers.js b/tests/e2e/general.helpers.jsindex 66b7aa459..0d2944323 100644--- a/tests/e2e/general.helpers.js+++ b/tests/e2e/general.helpers.js@@ -483,11 +483,11 @@ export async function setGridOptions(await clickOn('[data-tid=' + perspective + 'PerspectiveOptionsMenu]');if (showDirectories) {await global.client.check(- '[data-tid=gridPerspectiveToggleShowDirectories] input',+ '[data-tid=' + perspective + 'PerspectiveToggleShowDirectories] input',);} else {await global.client.uncheck(- '[data-tid=gridPerspectiveToggleShowDirectories] input',+ '[data-tid=' + perspective + 'PerspectiveToggleShowDirectories] input',);}@@ -547,7 +547,9 @@ export async function selectRowFiles(arrIndex = []) {const divEl = await filesList[index].$('div div');const id = await divEl.getAttribute('data-entry-id');arrElements.push(id);- const spanEl = await divEl.$('div:nth-child(3) div span');+ const spanEl = await divEl.$(+ 'div:nth-child(3) div ' + (i > 1 ? 'button' : 'span'),+ );await spanEl.click();}}