From 3d042f49927055df60d739cc90f60fd5456c4dd0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 21 Dec 2024 13:52:05 +0900 Subject: [PATCH] nix: remove workspace switching Switching workspaces does not test anything and introduces unnecessary wait time. Signed-off-by: Ophestra --- test.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test.nix b/test.nix index 12384bc..7ec930f 100644 --- a/test.nix +++ b/test.nix @@ -175,9 +175,7 @@ nixosTest { swaymsg("exec fortify -v run --wayland touch /tmp/success-session") machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-session") - # Start a terminal (foot) within fortify on workspace 3: - machine.send_key("alt-3") - machine.sleep(3) + # Start a terminal (foot) within fortify: swaymsg("exec fortify run --wayland foot") wait_for_window("u0_a0@machine") machine.send_chars("wayland-info && touch /tmp/success-client\n") @@ -190,9 +188,7 @@ nixosTest { # Verify acl cleanup on XDG_RUNTIME_DIR: machine.wait_until_fails("getfacl --absolute-names --omit-header --numeric /run/user/1000 | grep 1000000") - # Start a terminal (foot) within fortify from a terminal on workspace 4: - machine.send_key("alt-4") - machine.sleep(3) + # Start a terminal (foot) within fortify from a terminal: swaymsg("exec foot fortify run --wayland foot") wait_for_window("u0_a0@machine") machine.send_chars("wayland-info && touch /tmp/success-client-term\n")