Doubao-powered voice input for Linux, Wayland and Omarchy
fix(e2e): stabilize Omarchy runtime controls
quanru3662594366ee
diff --git a/tests/e2e/midscene.config.ts b/tests/e2e/midscene.config.tsindex 446dcb8..76ac216 100644--- a/tests/e2e/midscene.config.ts+++ b/tests/e2e/midscene.config.ts@@ -221,7 +221,11 @@ const pressKeyboardKey = defineNode<typeof keyboardKey, void, DesktopContext>({inputSchema: keyboardKey,async execute({ context, input }) {if (!context.agent) throw new Error('Midscene Computer Agent is not active');- await context.agent.aiKeyboardPress(input.keyName);+ if (context.environment === 'omarchy') {+ guest(`wtype -k ${input.keyName}`);+ } else {+ await context.agent.aiKeyboardPress(input.keyName);+ }},});const inputTextField = defineNode<typeof inputText, void, DesktopContext>({diff --git a/tests/e2e/run-omarchy-midscene.sh b/tests/e2e/run-omarchy-midscene.shindex 7d70251..a4a8e0c 100755--- a/tests/e2e/run-omarchy-midscene.sh+++ b/tests/e2e/run-omarchy-midscene.sh@@ -153,13 +153,15 @@ ssh_session_tty "printf '%s\\n' omarchy | sudo -S -v && \ssh_guest "test -f /home/omarchy/.local/share/applications/doubao-say.desktop && \grep -Fq '$PLUGIN_DIR/start.sh' /home/omarchy/.local/share/applications/doubao-say.desktop"+# First-run Omarchy notifications are unrelated to the plugin and visually+# overlap the product's own recording overlay in VNC screenshots.+ssh_session "omarchy-shell notifications dismissAll"+case "$MIDSCENE_PROJECT" inomarchy-shard-[1-4])npm --prefix tests/e2e test -- --project "$MIDSCENE_PROJECT";;omarchy-shell)- # Dismiss first-run notifications before inspecting Omarchy itself.- ssh_session "omarchy-shell notifications dismissAll"npm --prefix tests/e2e test -- --project "$MIDSCENE_PROJECT";;*)