summaryrefslogtreecommitdiff
path: root/test/process/tty_boot.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/tty_boot.zig')
-rw-r--r--test/process/tty_boot.zig8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig
index 2a4fea00..e3c09fb6 100644
--- a/test/process/tty_boot.zig
+++ b/test/process/tty_boot.zig
@@ -539,7 +539,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// SPC's level, rolled in the tag once its delay is up (a frame on the
// clock, which a quiet screen does not wait for)
try t.key("space");
- try t.wait(5000, "↓ unroll");
+ try t.wait(5000, "? help");
try t.stable(400, 5000);
try t.snap("spc");
try t.key("h");
@@ -550,7 +550,7 @@ fn leader(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.stable(400, 5000);
try t.snap("abandoned");
try t.key("space x");
- try t.wait(5000, "↓ unroll");
+ try t.wait(5000, "? help");
try t.stable(400, 5000);
try t.snap("unmapped");
// A key the level has no child for is struck and the level stays
@@ -854,7 +854,9 @@ fn msg(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// ...and a message arriving UNDER an armed prompt does not disturb it: a second
// external write reloads the pane and posts one, the row stays the prompt's.
try t.run("printf 'AGAIN\\n' > a.txt");
- try t.wait(10000, "AGAIN");
+ // (The pane's one line is under the prompt's head, on the row under the
+ // tag (UX DESIGN M2): the notice row's count says the second reload.)
+ try t.wait(10000, "×2");
try t.stable(700, 15000);
try t.snap("prompt-wins");
// Esc abandons the input, and the very key that abandoned it is also the key