Skip to content

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

fix e2e web

Stanimir5daa09084a73
diff --git a/tests/e2e/fileopener.pw.e2e.js b/tests/e2e/fileopener.pw.e2e.js
index 0ae404b24..e17ad6e62 100644
--- a/tests/e2e/fileopener.pw.e2e.js
+++ b/tests/e2e/fileopener.pw.e2e.js
@@ -211,7 +211,7 @@ describe('TST08 - File folder properties', () => {
it('TST0810 - Tag file drag&drop in file opener [web]', async () => {
const tagName = 'article';
await clickOn('[data-tid=tagLibrary]');
- await dragDrop('button[aria-label=' + tagName + ']', selectorFile);
+ await dragDrop('[data-tid=tagContainer_' + tagName + ']', selectorFile);
await clickOn(selectorFile);
await clickOn('[data-tid=fileContainerToggleProperties]');
diff --git a/tests/e2e/perspective-grid.pw.e2e.js b/tests/e2e/perspective-grid.pw.e2e.js
index 39921fa58..19e717fda 100644
--- a/tests/e2e/perspective-grid.pw.e2e.js
+++ b/tests/e2e/perspective-grid.pw.e2e.js
@@ -278,7 +278,8 @@ describe('TST50 - Perspective Grid', () => {
for (let i = 0; i < tags.length; i++) {
await expectElementExist(
'[data-tid=tagMoreButton_' + tags[i] + ']',
- false
+ false,
+ 5000
);
}
/* for (let i = 0; i < selectedIds.length; i++) {