summaryrefslogtreecommitdiff
path: root/test/process
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-24 01:02:27 -0300
committerGabriel Schneider <[email protected]>2026-11-24 01:06:20 -0300
commit59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1 (patch)
tree3e6fa55125052bd1e6c7cf89b5beb54ed424c942 /test/process
parentdefafb5ccce2ae30d3e16cc8fb57fb73485e03f4 (diff)
downloadpardes-59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1.tar.gz
pardes-59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1.zip
tests: two process cases read the view in rows (P62 round 3): the gate's process-test on the tip failed two cases the base passes, both the behaviour this line changes: "tty boot: builtins" waited after `/^ +Look ` Enter for Look's row AND Exec's row on the screen; the jump puts Look's row `scroll_off` ROWS above the body's bottom (round 2's ruling: the margin counts rows) and Look's documentation wraps, so Exec's row is under the body (the base's margin of three LINES showed it): the case now waits for Look's row and the first words of its documentation (its point unchanged: the search lands on Look, `n` executes nothing); its `tutor-from-index` snapshot and "tty boot: leader"'s `tutor` snapshot have the new pane one row lower, below the +Help pane's last text row (a wrapped line there counted two rows by item 3's `blankRows`; the base laid the new pane over that row): test/snapshots/builtins.golden and leader.golden updated a case at a time (`-- --update builtins`, `-- --update leader`) and read: their rows' texts the same but the shift, the Help pane's line 15 shown again in leader's, the Tutor's last row gone in each; process-test 0 of 146 failed (2 skipped), Debug
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/process')
-rw-r--r--test/process/tty_boot.zig7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/process/tty_boot.zig b/test/process/tty_boot.zig
index 6373de84..01b35a24 100644
--- a/test/process/tty_boot.zig
+++ b/test/process/tty_boot.zig
@@ -130,14 +130,17 @@ fn builtins(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.key("/");
try t.send("^ +Look ");
try t.key("enter");
+ // Look's row and its documentation under it (the margin below the row
+ // a search lands on is `scroll_off` rows, and Look's documentation
+ // wraps: Exec's row is under the body).
try t.wait(10000, "Look enter, right-click");
- try t.wait(10000, "Exec tab, middle-click");
+ try t.wait(10000, "Look at its argument as B3 does");
try t.stable(700, 15000);
// n moves through look-able text; it must not execute command names.
try t.key("space j n space j n space j n");
try t.wait(10000, "Look enter, right-click");
- try t.wait(10000, "Exec tab, middle-click");
+ try t.wait(10000, "Look at its argument as B3 does");
try t.key("space c ?");
try t.wait(10000, "under SPC c");
try t.wait(10000, "Joincol");