1 import ./make-test-python.nix ({ pkgs, ... }: {
4 maintainers = pkgs.plotinus.meta.maintainers;
11 { imports = [ ./common/x11.nix ];
12 programs.plotinus.enable = true;
13 environment.systemPackages = [
21 machine.succeed("gnome-pomodoro >&2 &")
22 machine.wait_for_window("Pomodoro", timeout=120)
24 "xdotool search --sync --onlyvisible --class gnome-pomodoro "
25 + "windowfocus --sync key --clearmodifiers --delay 1 'ctrl+shift+p'"
27 machine.sleep(5) # wait for the popup
28 machine.screenshot("popup")
29 machine.succeed("xdotool key --delay 100 p r e f e r e n c e s Return")
30 machine.wait_for_window("Preferences", timeout=120)