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