aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-21 13:52:05 +0900
committerOphestra <cat@gensokyo.uk>2024-12-21 13:52:05 +0900
commit3d042f49927055df60d739cc90f60fd5456c4dd0 (patch)
treeaab4219b6076613bc2a7307b0c9a47590db167af /test.nix
parent68660a2ad489871ca9575ca2a56ca5ad3c79e124 (diff)
nix: remove workspace switching
Switching workspaces does not test anything and introduces unnecessary wait time. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test.nix')
-rw-r--r--test.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/test.nix b/test.nix
index 12384bc5..7ec930ff 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")