Skip to content

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

e2e debug

sytolk0392d034c78b
diff --git a/tests/e2e/clearstorage.helpers.js b/tests/e2e/clearstorage.helpers.js
index e57cdfb0f..41093de04 100644
--- a/tests/e2e/clearstorage.helpers.js
+++ b/tests/e2e/clearstorage.helpers.js
@@ -1,7 +1,8 @@
-import { clickOn } from './general.helpers';
+import { clickOn, takeScreenshot } from './general.helpers';
export async function clearStorage() {
- await clickOn('[data-tid=settings]');
+ await takeScreenshot('clearStorage');
+ await clickOn('[data-tid=settings]', { timeout: 20000 });
await clickOn('[data-tid=advancedSettingsDialogTID]');
await clickOn('[data-tid=resetSettingsTID]');
await clickOn('[data-tid=confirmResetSettingsDialogTID]');