1 import ./make-test-python.nix ({ pkgs, ... }: {
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ fgaz ];
7 nodes.machine = { config, pkgs, ... }: {
12 services.xserver.enable = true;
13 environment.systemPackages = [
23 machine.succeed("echo '<!DOCTYPE html><html><body><h1>Hello world</h1></body></html>' > page.html")
24 machine.execute("ladybird file://$(pwd)/page.html >&2 &")
25 machine.wait_for_window("Ladybird")
27 machine.wait_for_text("Hello world")
28 machine.screenshot("screen")