Doubao-powered voice input for Linux, Wayland and Omarchy
cases:
- name: Deliver one synthetic dictation to the focused target
steps:
- fixture.prepare: { mode: runtime-delivery }
- aiAssert: A Synthetic dictation target window is focused, its text field is empty, and the status says Idle with 0 deliveries.
- computer.keyPress: { keyName: F8 }
- aiWaitFor:
prompt: A dark Doubao Say overlay says Listening to synthetic speech and shows Synthetic dictation is ready to deliver.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The listening overlay is visible and the target field remains empty.
- computer.keyPress: { keyName: F8 }
- aiWaitFor:
prompt: The large Synthetic dictation delivery target window remains visible, its text field contains Synthetic dictation delivered exactly once., and its status says Delivered once · 1 delivery. The small floating recording panel labeled Listening to synthetic speech is no longer visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The target field contains exactly Synthetic dictation delivered exactly once, and the status says Delivered once with 1 delivery.
- name: Cancel synthetic dictation without delivering text
steps:
- fixture.prepare: { mode: runtime-cancel }
- aiAssert: A Synthetic dictation target window is focused, its text field is empty, and the status says Idle with 0 deliveries.
- computer.keyPress: { keyName: F8 }
- aiWaitFor:
prompt: The recording overlay is visible and the target field is still empty.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- computer.keyPress: { keyName: Escape }
- aiWaitFor:
prompt: The large Synthetic dictation delivery target window shows an empty text field and the status Cancelled · no text delivered · ready to try again. The small floating recording panel with Listening to synthetic speech is not visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- computer.keyPress: { keyName: F8 }
- aiWaitFor:
prompt: A small floating recording panel says Listening to synthetic speech and Synthetic dictation is ready to deliver.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- computer.keyPress: { keyName: F8 }
- aiWaitFor:
prompt: The Synthetic dictation delivery target window shows Synthetic dictation delivered exactly once. in its text field and Delivered once · 1 delivery in its status.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }