1 import ./make-test-python.nix ({ pkgs, ... }: {
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ fgaz ];
7 nodes.machine = { config, pkgs, ... }: {
12 services.xserver.enable = true;
13 environment.systemPackages = [ pkgs.mindustry ];
21 machine.execute("mindustry >&2 &")
22 machine.wait_for_window("Mindustry")
23 # Loading can take a while. Avoid wasting cycles on OCR during that time
25 machine.wait_for_text(r"(Play|Database|Editor|Mods|Settings|Quit)")
26 machine.screenshot("screen")