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