1 import ./make-test-python.nix ({ pkgs, ...} : {
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ aszlig ];
7 nodes.machine = { ... }: {
8 imports = [ ./common/user-account.nix ];
9 services.xserver.enable = true;
10 services.xserver.displayManager.lightdm.enable = true;
11 services.displayManager.defaultSession = "none+icewm";
12 services.xserver.windowManager.icewm.enable = true;
17 testScript = { nodes, ... }: let
18 user = nodes.machine.config.users.users.alice;
21 machine.wait_for_text("${user.description}")
22 machine.screenshot("lightdm")
23 machine.send_chars("${user.password}\n")
24 machine.wait_for_file("${user.home}/.Xauthority")
25 machine.succeed("xauth merge ${user.home}/.Xauthority")
26 machine.wait_for_window("^IceWM ")