about summary refs log tree commit diff
path: root/nixos/tests/pantheon.nix
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2024-01-27 16:41:51 +0800
committerBobby Rong <rjl931189261@126.com>2024-03-17 13:42:34 +0800
commitbf2ba6e62972d4f7fc1e788747344530089e5ece (patch)
treef921f7d718f3978cdf8fd5e0b030ba4cc568a40f /nixos/tests/pantheon.nix
parenta4bca9aaef02c625ffcb2c11322d7a87192ac33b (diff)
nixosTests.pantheon: Add test for io.elementary.gala.daemon@x11.service
Which is manually added in the nixos module.
Diffstat (limited to 'nixos/tests/pantheon.nix')
-rw-r--r--nixos/tests/pantheon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix
index c75aa9aa0be3b..14f92fa3af4a2 100644
--- a/nixos/tests/pantheon.nix
+++ b/nixos/tests/pantheon.nix
@@ -50,8 +50,8 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
             machine.wait_until_succeeds(f"pgrep -f {i}")
         for i in ["gala", "io.elementary.wingpanel", "plank"]:
             machine.wait_for_window(i)
-        machine.wait_for_unit("bamfdaemon.service", "${user.name}")
-        machine.wait_for_unit("io.elementary.files.xdg-desktop-portal.service", "${user.name}")
+        for i in ["io.elementary.gala.daemon@x11.service", "bamfdaemon.service", "io.elementary.files.xdg-desktop-portal.service"]:
+            machine.wait_for_unit(i, "${user.name}")
 
     with subtest("Check if various environment variables are set"):
         cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"