diff options
| author | Ophestra <cat@gensokyo.uk> | 2024-12-21 13:52:05 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2024-12-21 13:52:05 +0900 |
| commit | 3d042f49927055df60d739cc90f60fd5456c4dd0 (patch) | |
| tree | aab4219b6076613bc2a7307b0c9a47590db167af /test.nix | |
| parent | 68660a2ad489871ca9575ca2a56ca5ad3c79e124 (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.nix | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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") |
