1 import ./make-test-python.nix ({ lib, ... }: {
3 meta.maintainers = with lib.maintainers; [ paumr ];
5 nodes.machine = { pkgs, ... }: {
10 environment.systemPackages = with pkgs; [ archi ];
18 with subtest("createEmptyModel via CLI"):
19 machine.succeed("Archi -application com.archimatetool.commandline.app -consoleLog -nosplash --createEmptyModel --saveModel smoke.archimate")
20 machine.copy_from_vm("smoke.archimate", "")
22 with subtest("UI smoketest"):
23 machine.succeed("DISPLAY=:0 Archi --createEmptyModel >&2 &")
24 machine.wait_for_window("Archi")
26 # wait till main UI is open
27 # since OCR seems to be buggy wait_for_text was replaced by sleep, issue: #302965
28 # machine.wait_for_text("Welcome to Archi")
31 machine.screenshot("welcome-screen")