Doubao-powered voice input for Linux, Wayland and Omarchy
test(e2e): stabilize synthetic sign-in checks
quanru239ed99842e6
diff --git a/tests/contracts/test_pages_report_history.mjs b/tests/contracts/test_pages_report_history.mjsindex 00731f2..21b40bd 100644--- a/tests/contracts/test_pages_report_history.mjs+++ b/tests/contracts/test_pages_report_history.mjs@@ -152,7 +152,12 @@ test('keeps visual E2E interactions at task level with proven aiTap exceptions','- aiTap: Check microphone · 3 seconds button on the Microphone step','- aiTap: Right-arrow Next button in the fixed top navigation',]- : [],+ : file === 'onboarding-regressions.yaml'+ ? [+ '- 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: 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',+ ]+ : [],`${file} must express visual interactions as task-level aiAct steps except for proven failures`,);assert.doesNotMatch(diff --git a/tests/e2e/cases/onboarding-regressions.yaml b/tests/e2e/cases/onboarding-regressions.yamlindex 12f46bc..4628818 100644--- a/tests/e2e/cases/onboarding-regressions.yaml+++ b/tests/e2e/cases/onboarding-regressions.yaml@@ -3,7 +3,7 @@ cases:tags: [shard-1]steps:- 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.+ - 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 }@@ -13,7 +13,7 @@ cases:prompt: The synthetic sign-in window is gone and Doubao Say remains on Sign in.options: { timeoutMs: 30000, checkIntervalMs: 1000 }- aiAssert: Doubao Say remains on Sign in and the right-arrow Next button is disabled.- - aiAct: Open the CI-only Doubao sign-in window again from 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 again.options: { timeoutMs: 30000, checkIntervalMs: 1000 }diff --git a/tests/e2e/cases/onboarding.yaml b/tests/e2e/cases/onboarding.yamlindex af85c86..04bddfb 100644--- a/tests/e2e/cases/onboarding.yaml+++ b/tests/e2e/cases/onboarding.yaml@@ -5,9 +5,8 @@ cases:- aiAssert: The visible Doubao Say window is on Sign in and says the user is not signed in.- 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.+ prompt: The modal titled CI-ONLY SYNTHETIC DOUBAO SIGN-IN is visible and says it makes no network request and uses no real credentials.options: { timeoutMs: 30000, checkIntervalMs: 1000 }- - aiAssert: The Synthetic Doubao sign-in window explicitly says it is CI-only, makes no network request, and uses no real credentials.- aiAct: Simulate a successful sign-in.- aiWaitFor:prompt: The synthetic sign-in window is closed and Doubao Say is on the Microphone step.