1import ./make-test-python.nix (
2 { pkgs, ... }:
3 {
4 name = "soapui";
5 meta = with pkgs.lib.maintainers; {
6 maintainers = [ ];
7 };
8
9 nodes.machine =
10 { config, pkgs, ... }:
11 {
12 imports = [
13 ./common/x11.nix
14 ];
15
16 services.xserver.enable = true;
17
18 environment.systemPackages = [ pkgs.soapui ];
19 };
20
21 testScript = ''
22 machine.wait_for_x()
23 machine.succeed("soapui >&2 &")
24 machine.wait_for_window(r"SoapUI \d+\.\d+\.\d+")
25 machine.sleep(1)
26 machine.screenshot("soapui")
27 '';
28 }
29)