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.
This commit is contained in:
OPNA2608
2025-12-12 23:54:41 +01:00
parent aa00efe1b8
commit 0115364c74

View File

@@ -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")
'';
}