dify/e2e/features/agent-v2/speech-to-text.feature
yyh ab521c4cfd
refactor(chat): modernize speech-to-text pipeline (#38653)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yansong Zhang <916125788@qq.com>
2026-07-13 04:21:29 +00:00

14 lines
779 B
Gherkin

@agent-v2 @authenticated
Feature: Agent v2 speech-to-text
@build @speech-to-text @microphone @external-model @speech-to-text-model
Scenario: Recorded speech is transcribed into the current Agent input
Given I am signed in as the default E2E admin
And the workspace default speech-to-text model is active
And an Agent v2 test agent with speech-to-text enabled has been created via API
When I open the Agent v2 configure page
And I start Agent v2 voice input
And I stop Agent v2 voice input after the fixture speech has played
Then the Agent v2 speech-to-text request should succeed
And the transcribed fixture phrase "Purple elephant seven" should appear in the Agent v2 input
And the Agent v2 input should regain focus after transcription