Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

test: wait for polishing toggle layout to settle

quanruc6d9a5b64360
diff --git a/tests/contracts/test_pages_report_history.mjs b/tests/contracts/test_pages_report_history.mjs
index 6103141..9981a61 100644
--- a/tests/contracts/test_pages_report_history.mjs
+++ b/tests/contracts/test_pages_report_history.mjs
@@ -175,7 +175,7 @@ test('keeps visual E2E interactions at task level with proven tap exceptions', a
'- computer.tapPoint: { target: Left-arrow Previous button in the fixed top navigation, point: { x: 240, y: 203 } }',
'- aiScroll:',
'- computer.tapPoint: { target: Enabled Voice polishing switch, point: { x: 1180, y: 316 } }',
- '- computer.tapPoint: { target: Disabled Voice polishing switch, point: { x: 1180, y: 316 } }',
+ '- computer.tapPoint: { target: Disabled Voice polishing switch in the collapsed card, point: { x: 1166, y: 554 } }',
'- aiScroll:',
'- aiScroll:',
'- computer.inputText: { target: The text entry to the right of Model containing synthetic-model, value: ci-fail-model, point: { x: 850, y: 477 } }',
diff --git a/tests/e2e/cases/onboarding-regressions.yaml b/tests/e2e/cases/onboarding-regressions.yaml
index aad77f9..30ac501 100644
--- a/tests/e2e/cases/onboarding-regressions.yaml
+++ b/tests/e2e/cases/onboarding-regressions.yaml
@@ -73,8 +73,11 @@ cases:
prompt: The Trigger key step and the Voice polishing switch are visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- computer.tapPoint: { target: Enabled Voice polishing switch, point: { x: 1180, y: 316 } }
- - aiAssert: Voice polishing disabled is visible, the switch is off, and the polishing Base URL and Model fields are hidden.
- - computer.tapPoint: { target: Disabled Voice polishing switch, point: { x: 1180, y: 316 } }
+ - aiWaitFor:
+ prompt: The Voice polishing switch is gray and off, and the text Voice polishing disabled. appears below it; the Base URL and Model inputs are not shown.
+ options: { timeoutMs: 30000, checkIntervalMs: 1000 }
+ - aiAssert: Voice polishing disabled. is visible and the polishing settings are collapsed.
+ - computer.tapPoint: { target: Disabled Voice polishing switch in the collapsed card, point: { x: 1166, y: 554 } }
- aiScroll:
options: { direction: down, scrollType: singleAction, distance: 500 }
- aiWaitFor: