lol

nixosTests.ft2-clone: make OCR more robust

+1 -3
+1 -3
nixos/tests/ft2-clone.nix
··· 26 26 27 27 machine.wait_for_window(r"Fasttracker") 28 28 machine.sleep(5) 29 - # One of the few words that actually get recognized 30 - if "Songlen" not in machine.get_screen_text(): 31 - raise Exception("Program did not start successfully") 29 + machine.wait_for_text(r"(Songlen|Repstart|Time|About|Nibbles|Help)") 32 30 machine.screenshot("screen") 33 31 ''; 34 32 })