Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

test(e2e): clarify sign-in visual targets

quanru2e2fbb21a4ec
diff --git a/tests/contracts/test_pages_report_history.mjs b/tests/contracts/test_pages_report_history.mjs
index 582cfa5..00731f2 100644
--- a/tests/contracts/test_pages_report_history.mjs
+++ b/tests/contracts/test_pages_report_history.mjs
@@ -148,7 +148,7 @@ test('keeps visual E2E interactions at task level with proven aiTap exceptions',
oneShotActions.map((line) => line.trim()),
file === 'onboarding.yaml'
? [
- '- aiTap: Open Doubao sign-in button in the Sign in content panel',
+ '- aiTap: The large blue full-width Open Doubao sign-in button near the bottom of the central Sign in panel, around 50% width and 73% screen height',
'- aiTap: Check microphone · 3 seconds button on the Microphone step',
'- aiTap: Right-arrow Next button in the fixed top navigation',
]
diff --git a/tests/e2e/cases/onboarding-regressions.yaml b/tests/e2e/cases/onboarding-regressions.yaml
index 2a959f0..12f46bc 100644
--- a/tests/e2e/cases/onboarding-regressions.yaml
+++ b/tests/e2e/cases/onboarding-regressions.yaml
@@ -2,7 +2,7 @@ cases:
- name: Cancel sign-in and retry
tags: [shard-1]
steps:
- - aiAssert: The current step is Sign in and both left-arrow Previous and right-arrow Next in the fixed top navigation are disabled.
+ - aiAssert: The current step is Sign in, the page says Not signed in, and the large blue Open Doubao sign-in button is visible.
- aiAct: Open the CI-only Doubao sign-in window.
- aiWaitFor:
prompt: The CI-only Synthetic Doubao sign-in window is visible.
diff --git a/tests/e2e/cases/onboarding.yaml b/tests/e2e/cases/onboarding.yaml
index 9b30d7d..af85c86 100644
--- a/tests/e2e/cases/onboarding.yaml
+++ b/tests/e2e/cases/onboarding.yaml
@@ -3,7 +3,7 @@ cases:
tags: [shard-1]
steps:
- aiAssert: The visible Doubao Say window is on Sign in and says the user is not signed in.
- - aiTap: Open Doubao sign-in button in the Sign in content panel
+ - aiTap: The large blue full-width Open Doubao sign-in button near the bottom of the central Sign in panel, around 50% width and 73% screen height
- aiWaitFor:
prompt: The CI-only Synthetic Doubao sign-in window is visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }