summaryrefslogtreecommitdiff
path: root/test/process/tty_editing.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/tty_editing.zig')
-rw-r--r--test/process/tty_editing.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig
index 53e1da1e..896a3634 100644
--- a/test/process/tty_editing.zig
+++ b/test/process/tty_editing.zig
@@ -371,7 +371,8 @@ fn chordcut(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// unrelated right column untouched. Give the caller enough cells that the selected
// `echo B''OO g.txt` remains one displayed row; this test is about chords, not
// soft-wrap traversal.
- try t.start(31, 120, &.{ "-n", "3" });
+ // A row more than its panes take: the notice row under them.
+ try t.start(32, 120, &.{ "-n", "3" });
try t.wait(8000, "f.txt");
try t.stable(700, 20000);
// open f.txt: click a body spot, type the name, look it
@@ -608,9 +609,12 @@ fn find(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.start(41, 120, &.{"here.txt"});
try t.wait(8000, "here.txt");
try t.stable(700, 20000);
- // SPC f is a group (Find, New, Save, Recent, Grep): the indicator waits
+ // SPC f is a group (Find, New, Save, Recent, Grep): its level rolled in
+ // the tag once SPC's delay is up (a frame on the clock, which a quiet
+ // screen does not wait for)
try t.key("space");
try t.key("f");
+ try t.wait(5000, "↓ unroll");
try t.stable(400, 5000);
try t.snap("group");
// the second f opens the query pane: every file listed, line 1 `Find `