1 import ./make-test-python.nix ({ pkgs, lib, ... }: {
3 meta = with lib.maintainers; { maintainers = [ nequissimus ]; };
5 nodes.client = { nodes, ... }:
6 let user = nodes.client.config.users.users.alice;
8 imports = [ ./common/user-account.nix ./common/x11.nix ];
10 environment.systemPackages = [ pkgs.minecraft ];
12 nixpkgs.config.allowUnfree = true;
14 test-support.displayManager.auto.user = user.name;
19 testScript = { nodes, ... }:
20 let user = nodes.client.config.users.users.alice;
23 client.execute("su - alice -c minecraft-launcher >&2 &")
24 client.wait_for_text("Create a new Microsoft account")
26 client.screenshot("launcher")