1 import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "shattered-pixel-dungeon";
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ fgaz ];
7 nodes.machine = { config, pkgs, ... }: {
12 services.xserver.enable = true;
13 environment.systemPackages = [ pkgs.shattered-pixel-dungeon ];
21 machine.execute("shattered-pixel-dungeon >&2 &")
22 machine.wait_for_window(r"Shattered Pixel Dungeon")
23 machine.wait_for_text("Enter")
24 machine.screenshot("screen")