at 23.11-pre 526 B view raw
1import ./make-test-python.nix ({ pkgs, ... }: { 2 name = "tuxguitar"; 3 meta = with pkgs.lib.maintainers; { 4 maintainers = [ ]; 5 }; 6 7 nodes.machine = { config, pkgs, ... }: { 8 imports = [ 9 ./common/x11.nix 10 ]; 11 12 services.xserver.enable = true; 13 14 environment.systemPackages = [ pkgs.tuxguitar ]; 15 }; 16 17 testScript = '' 18 machine.wait_for_x() 19 machine.succeed("tuxguitar >&2 &") 20 machine.wait_for_window("TuxGuitar - Untitled.tg") 21 machine.sleep(1) 22 machine.screenshot("tuxguitar") 23 ''; 24})