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.domination ];
21 # Add a dummy sound card, or an error reporting popup will appear,
22 # covering the main window and preventing OCR
23 machine.execute("modprobe snd-dummy")
24 machine.execute("domination >&2 &")
25 machine.wait_for_window("Menu")
26 machine.wait_for_text(r"(New Game|Start Server|Load Game|Help Manual|Join Game|About|Play Online)")
27 machine.screenshot("screen")