Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

fix(e2e): remap synthetic cancel label

quanru426108c24ae6
diff --git a/tests/e2e/gtk_onboarding_fixture.py b/tests/e2e/gtk_onboarding_fixture.py
index bcede20..0ef7150 100644
--- a/tests/e2e/gtk_onboarding_fixture.py
+++ b/tests/e2e/gtk_onboarding_fixture.py
@@ -189,9 +189,7 @@ def build_onboarding_fixture(mode):
overlay.show()
control.refresh()
control._voice_button.set_label("Finish & check result")
- control._cancel_button.set_label("Cancel test")
- control._cancel_button.get_child().set_text("Cancel test")
- control._cancel_button.get_child().set_visible(True)
+ control._cancel_button.set_child(Gtk.Label(label="Cancel test"))
control._cancel_button.set_visible(True)
def transcript():