anchor.diff:      machine.wait_for_file("/tmp/sway-ipc.sock")
   
       # Test XWayland (foot does not support X):
  -    machine.succeed(
  -        "su - alice -c 'swaymsg exec WINIT_UNIX_BACKEND=x11 WAYLAND_DISPLAY=invalid alacritty'"
  -    )
  +    swaymsg("exec WINIT_UNIX_BACKEND=x11 WAYLAND_DISPLAY=invalid alacritty")
       machine.wait_for_text("alice@machine")
       machine.send_chars("test-x11\n")
       machine.wait_for_file("/tmp/test-x11-exit-ok")
  
positive.code:   enableOCR = true;
  
    testScript = { nodes, ... }: ''
      start_all()
      machine.wait_for_unit("multi-user.target")
  
  
negative.code:     machine.screenshot("sway_exit")
  
      # Exit Sway and verify process exit status 0:
      swaymsg("exit", succeed=False)
      machine.wait_until_fails("pgrep -x sway")
      machine.wait_for_file("/tmp/sway-exit-ok")
    '';
  