Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

fix(e2e): refresh synthetic voice state

quanruc0cb61d414cb
diff --git a/tests/e2e/cases/onboarding-regressions.yaml b/tests/e2e/cases/onboarding-regressions.yaml
index 86aa34c..fa2e436 100644
--- a/tests/e2e/cases/onboarding-regressions.yaml
+++ b/tests/e2e/cases/onboarding-regressions.yaml
@@ -141,7 +141,6 @@ cases:
- aiAssert: The Finish setup button is visibly disabled.
- aiTap: Start voice test button in the Voice test content panel
- wait: { duration: 750 }
- - aiAct: Scroll inside the Voice test content panel until both Finish & check result and Cancel test are fully visible.
- aiAssert: Synthetic voice test transcript is visible, and both Finish & check result and Cancel test are available.
- aiTap: Cancel test button in the Voice test content panel
- wait: { duration: 500 }
diff --git a/tests/e2e/gtk_onboarding_fixture.py b/tests/e2e/gtk_onboarding_fixture.py
index 266d26e..a7b0543 100644
--- a/tests/e2e/gtk_onboarding_fixture.py
+++ b/tests/e2e/gtk_onboarding_fixture.py
@@ -187,6 +187,7 @@ def build_onboarding_fixture(mode):
control._start_button.set_label("Finish setup")
state.recording_state = RecordingState.RECORDING
overlay.show()
+ control.refresh()
def transcript():
state.transcription_text = "Synthetic voice test transcript."