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 programs.ladybird.enable = true;
21 machine.succeed("echo '<!DOCTYPE html><html><body><h1>Hello world</h1></body></html>' > page.html")
22 machine.execute("Ladybird file://$(pwd)/page.html >&2 &")
23 machine.wait_for_window("Ladybird")
25 machine.wait_for_text("Hello world")
26 machine.screenshot("screen")