Skip to content

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

fix for web

Stanimir159dea95bd2b
diff --git a/tests/e2e/location.pw.e2e.js b/tests/e2e/location.pw.e2e.js
index c4fead1f4..7fd407e4e 100644
--- a/tests/e2e/location.pw.e2e.js
+++ b/tests/e2e/location.pw.e2e.js
@@ -68,6 +68,7 @@ describe('TST03 - Testing locations:', () => {
it('TST0303 - Rename location [web,electron]', async () => {
await openLocationMenu(testLocationName);
await clickOn('[data-tid=editLocation]');
+ await global.client.dblclick('[data-tid=locationName] input');
await setInputKeys('locationName', newLocationName);
await clickOn('[data-tid=confirmLocationCreation]');
/*await delay(500);
@@ -79,7 +80,7 @@ describe('TST03 - Testing locations:', () => {
//expect(allLocationsList.indexOf(newLocationName) >= 0).toBe(true);
await expectElementExist(
- '[data-tid=location_' + newLocationName + testLocationName + ']',
+ '[data-tid=location_' + newLocationName + ']',
true,
1000
);