nixosTests.cinnamon-wayland: Fix screensaver test

5e225dca4c
This commit is contained in:
Bobby Rong 2024-01-25 21:41:57 +08:00
parent 0a05b55a32
commit 85d2b356ca
No known key found for this signature in database

View file

@ -64,7 +64,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
# This is not supported at the moment.
# https://trello.com/b/HHs01Pab/cinnamon-wayland
machine.execute("${su "cinnamon-screensaver-command -l >&2 &"}")
machine.wait_until_succeeds("journalctl -b --grep 'Cinnamon Screensaver is unavailable on Wayland'")
machine.wait_until_succeeds("journalctl -b --grep 'cinnamon-screensaver is disabled in wayland sessions'")
with subtest("Open GNOME Terminal"):
machine.succeed("${su "dbus-launch gnome-terminal"}")