nix: remove workspace switching
Switching workspaces does not test anything and introduces unnecessary wait time. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
68660a2ad4
commit
3d042f4992
8
test.nix
8
test.nix
@ -175,9 +175,7 @@ nixosTest {
|
|||||||
swaymsg("exec fortify -v run --wayland touch /tmp/success-session")
|
swaymsg("exec fortify -v run --wayland touch /tmp/success-session")
|
||||||
machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-session")
|
machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-session")
|
||||||
|
|
||||||
# Start a terminal (foot) within fortify on workspace 3:
|
# Start a terminal (foot) within fortify:
|
||||||
machine.send_key("alt-3")
|
|
||||||
machine.sleep(3)
|
|
||||||
swaymsg("exec fortify run --wayland foot")
|
swaymsg("exec fortify run --wayland foot")
|
||||||
wait_for_window("u0_a0@machine")
|
wait_for_window("u0_a0@machine")
|
||||||
machine.send_chars("wayland-info && touch /tmp/success-client\n")
|
machine.send_chars("wayland-info && touch /tmp/success-client\n")
|
||||||
@ -190,9 +188,7 @@ nixosTest {
|
|||||||
# Verify acl cleanup on XDG_RUNTIME_DIR:
|
# Verify acl cleanup on XDG_RUNTIME_DIR:
|
||||||
machine.wait_until_fails("getfacl --absolute-names --omit-header --numeric /run/user/1000 | grep 1000000")
|
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:
|
# Start a terminal (foot) within fortify from a terminal:
|
||||||
machine.send_key("alt-4")
|
|
||||||
machine.sleep(3)
|
|
||||||
swaymsg("exec foot fortify run --wayland foot")
|
swaymsg("exec foot fortify run --wayland foot")
|
||||||
wait_for_window("u0_a0@machine")
|
wait_for_window("u0_a0@machine")
|
||||||
machine.send_chars("wayland-info && touch /tmp/success-client-term\n")
|
machine.send_chars("wayland-info && touch /tmp/success-client-term\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user