about summary refs log tree commit diff
path: root/nixos/tests/budgie.nix
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-08-16 23:06:50 +0800
committerBobby Rong <rjl931189261@126.com>2023-08-16 23:33:52 +0800
commitba96b6bdaaa276fbb6d0007a7b196017ac169077 (patch)
tree7dbd54cda80dd25666ba31b00b3e2d96ecf469e1 /nixos/tests/budgie.nix
parentd86dc7c016a95e9d6f2133db317ba505371b0a88 (diff)
nixosTests.budgie: Re-add checks for budgie-wm
This is the shell of the desktop, it is still a good idea to do something with it.
Diffstat (limited to 'nixos/tests/budgie.nix')
-rw-r--r--nixos/tests/budgie.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tests/budgie.nix b/nixos/tests/budgie.nix
index 34ee1e303de9f..19d9b2bd0bede 100644
--- a/nixos/tests/budgie.nix
+++ b/nixos/tests/budgie.nix
@@ -52,10 +52,16 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
           machine.wait_for_window("budgie-daemon")
           machine.wait_until_succeeds("pgrep budgie-panel")
           machine.wait_for_window("budgie-panel")
+          # We don't check xwininfo for this one.
+          # See https://github.com/NixOS/nixpkgs/pull/216737#discussion_r1155312754
+          machine.wait_until_succeeds("pgrep budgie-wm")
 
       with subtest("Open MATE terminal"):
           machine.succeed("su - ${user.name} -c 'DISPLAY=:0 mate-terminal >&2 &'")
           machine.wait_for_window("Terminal")
+
+      with subtest("Check if budgie-wm has ever coredumped"):
+          machine.fail("coredumpctl --json=short | grep budgie-wm")
           machine.sleep(20)
           machine.screenshot("screen")
     '';