From 0115364c74ecbd177d6ce97d9c9682201ffd5959 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 12 Dec 2025 23:54:41 +0100 Subject: [PATCH] nixosTests.lomiri-clock-app: Fix OCR For some reason, it can't find the current localised texts anymore. Add localised names for days of the week. Also add unlocalised one to the English test, for consistency. --- nixos/tests/lomiri-clock-app.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/lomiri-clock-app.nix b/nixos/tests/lomiri-clock-app.nix index d5cb72394abc..6b607cfff5f2 100644 --- a/nixos/tests/lomiri-clock-app.nix +++ b/nixos/tests/lomiri-clock-app.nix @@ -38,7 +38,7 @@ machine.sleep(10) machine.send_key("alt-f10") machine.sleep(5) - machine.wait_for_text(r"(clock.ubports|City|Alarms)") + machine.wait_for_text(r"(clock.ubports|City|Alarms|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)") machine.screenshot("lomiri-clock_open") machine.succeed("pkill -f lomiri-clock-app") @@ -48,7 +48,7 @@ machine.sleep(10) machine.send_key("alt-f10") machine.sleep(5) - machine.wait_for_text(r"(Stadt|Weckzeiten)") + machine.wait_for_text(r"(Stadt|Weckzeiten|Montag|Dienstag|Mittwoch|Donnerstag|Freitag|Samstag|Sonntag)") machine.screenshot("lomiri-clock_localised") ''; }