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