diff options
Diffstat (limited to 'nixos/tests/soapui.nix')
-rw-r--r-- | nixos/tests/soapui.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixos/tests/soapui.nix b/nixos/tests/soapui.nix new file mode 100644 index 00000000000..205128df91f --- /dev/null +++ b/nixos/tests/soapui.nix @@ -0,0 +1,24 @@ +import ./make-test-python.nix ({ pkgs, ... }: { + name = "soapui"; + meta = with pkgs.lib.maintainers; { + maintainers = [ asbachb ]; + }; + + machine = { config, pkgs, ... }: { + imports = [ + ./common/x11.nix + ]; + + services.xserver.enable = true; + + environment.systemPackages = [ pkgs.soapui ]; + }; + + testScript = '' + machine.wait_for_x() + machine.succeed("soapui &") + machine.wait_for_window(r"SoapUI \d+\.\d+\.\d+") + machine.sleep(1) + machine.screenshot("soapui") + ''; +}) |