Commit a4807f56 authored by Francesco Gazzetta's avatar Francesco Gazzetta
Browse files

nixosTests.ft2-clone: make OCR more robust

parent 98b6f726
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -26,9 +26,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {

      machine.wait_for_window(r"Fasttracker")
      machine.sleep(5)
      # One of the few words that actually get recognized
      if "Songlen" not in machine.get_screen_text():
          raise Exception("Program did not start successfully")
      machine.wait_for_text(r"(Songlen|Repstart|Time|About|Nibbles|Help)")
      machine.screenshot("screen")
    '';
})