Skip to content

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

fix e2e

sytolk7f03a20d54bd
diff --git a/tests/e2e/general.helpers.js b/tests/e2e/general.helpers.js
index 329733369..7e7e6f233 100644
--- a/tests/e2e/general.helpers.js
+++ b/tests/e2e/general.helpers.js
@@ -768,8 +768,10 @@ export async function expectMetaFilesExist(
export async function writeTextInIframeInput(txt) {
const fLocator = await frameLocator();
- const editor = await fLocator.locator('#editorText');
- await editor.type(txt);
+ const monacoEditor = await fLocator.locator('#monaco_editor');
+ await monacoEditor.click();
+ await global.client.keyboard.press('Meta+KeyA');
+ await monacoEditor.type(txt);
}
export async function expectFileContain(