at 25.11-pre 645 B view raw
1import ./make-test-python.nix ( 2 { pkgs, ... }: 3 { 4 name = "vengi-tools"; 5 meta = with pkgs.lib.maintainers; { 6 maintainers = [ fgaz ]; 7 }; 8 9 nodes.machine = 10 { config, pkgs, ... }: 11 { 12 imports = [ 13 ./common/x11.nix 14 ]; 15 16 services.xserver.enable = true; 17 environment.systemPackages = [ pkgs.vengi-tools ]; 18 }; 19 20 enableOCR = true; 21 22 testScript = '' 23 machine.wait_for_x() 24 machine.execute("vengi-voxedit >&2 &") 25 machine.wait_for_window("voxedit") 26 # Let the window load fully 27 machine.sleep(15) 28 machine.screenshot("screen") 29 ''; 30 } 31)