Doubao-powered voice input for Linux, Wayland and Omarchy
test(e2e): complete endpoint failure retry flow
quanruab37079d864e
diff --git a/tests/contracts/test_pages_report_history.mjs b/tests/contracts/test_pages_report_history.mjsindex 304e418..4f34d07 100644--- a/tests/contracts/test_pages_report_history.mjs+++ b/tests/contracts/test_pages_report_history.mjs@@ -168,6 +168,8 @@ test('keeps visual E2E interactions at task level with proven aiTap exceptions','- aiScroll:','- computer.inputText: { target: The text entry to the right of Model containing synthetic-model, value: ci-fail-model, point: { x: 850, y: 477 } }','- aiTap: Test endpoint button in the Voice polishing section',+ '- computer.inputText: { target: The text entry to the right of Model containing ci-fail-model, value: ci-ok-model, point: { x: 850, y: 477 } }',+ '- aiTap: Test failed — try again button in the Voice polishing section','- aiTap: The microphone dropdown currently showing Synthetic microphone one','- aiTap: Synthetic microphone two option in the open microphone dropdown','- 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.yamlindex c52e052..0fa344c 100644--- a/tests/e2e/cases/onboarding-regressions.yaml+++ b/tests/e2e/cases/onboarding-regressions.yaml@@ -88,19 +88,16 @@ cases:tags: [shard-2]steps:- fixture.prepare: { mode: trigger-settings }- - aiAssert: The Trigger key step shows Choose how to start speaking and Voice polishing is enabled.- aiScroll:options: { direction: down, scrollType: singleAction, distance: 500 }- computer.inputText: { target: The text entry to the right of Model containing synthetic-model, value: ci-fail-model, point: { x: 850, y: 477 } }- - aiAssert: The Voice polishing Model input contains exactly ci-fail-model.- aiTap: Test endpoint button in the Voice polishing section- aiWaitFor:prompt: The endpoint feedback contains Synthetic endpoint unavailable and the retry button says Test failed — try again.options: { timeoutMs: 30000, checkIntervalMs: 1000 }- aiAssert: The endpoint failure and its enabled retry button are both visible.- - aiAct: Replace the Voice polishing Model value with ci-ok-model.- - aiAssert: The Voice polishing Model input contains exactly ci-ok-model, without the word fail.- - aiAct: Retry the Voice polishing endpoint test.+ - computer.inputText: { target: The text entry to the right of Model containing ci-fail-model, value: ci-ok-model, point: { x: 850, y: 477 } }+ - aiTap: Test failed — try again button in the Voice polishing section- aiWaitFor:prompt: The endpoint result contains Synthetic endpoint response and the button says Endpoint works.options: { timeoutMs: 30000, checkIntervalMs: 1000 }