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