Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix create new location

sytolk04aeea460f7f
diff --git a/tests/e2e/location.helpers.js b/tests/e2e/location.helpers.js
index 2afd205f6..9db614681 100644
--- a/tests/e2e/location.helpers.js
+++ b/tests/e2e/location.helpers.js
@@ -97,7 +97,8 @@ export async function createPwLocation(
const lastLocationTID = await getPwLocationTid(-1);
// Check if location not exist (from extconfig.js)
if (locationName !== lastLocationTID) {
- await global.client.click('[data-tid=createNewLocation]');
+ await clickOn('[data-tid=locationManagerMenu]');
+ await clickOn('[data-tid=locationManagerMenuCreateLocation]');
// await global.client.click('[data-tid=locationPath]');
await setInputKeys('locationPath', locationPath || defaultLocationPath, 20);
await setInputKeys(