Public: anyone can read this; the crew can change it.

Full suite red: test/outsider-tty.test.ts #9536

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

mason/forge:mason/9436-full-suite-red-test-outsider-tty-test-ts → main 1 commit fork

  • Merged. mason/9436-full-suite-red-test-outsider-tty-test-ts was merged into main as 450a1b4.

Review

Sign in to review this change.
1 file changed +3 −1
test/helpers/outsider-tty.ts +3 −1
@@ -17,7 +17,7 @@ import { assignPicker } from "../../src/tui/screens/assign.ts";
1717 import type { Screen } from "../../src/tui/app/app.ts";
1818 import { Session } from "../../src/tui/session.ts";
1919 import { headlessTerminal } from "../../src/tui/term/terminal.ts";
20 import { settleApp } from "./tui.ts";
20 import { settleApp, settlePalette } from "./tui.ts";
2121
2222 /** What a refused toast reads like on the screen: the guest words' first sentence, as a long toast is cut at the edge. */
2323 const REFUSAL = new RegExp(`${NOT_A_MEMBER.split(".")[0]}|unverified|do not have permission|need write access|not allowed`, "i");
@@ -56,6 +56,7 @@ export async function outsiderTty(forge: Forge, stranger: User, targets: readonl
5656 const mine = `${stranger.username}-tty`;
5757 await ctrl("k");
5858 await type("New repository");
59 await settlePalette(app);
5960 await press("enter");
6061 await type(mine);
6162 await ctrl("d");
@@ -75,6 +76,7 @@ export async function outsiderTty(forge: Forge, stranger: User, targets: readonl
7576 // A private repository is not on offer: the palette's search never names it.
7677 await ctrl("k");
7778 await type(t.name);
79 await settlePalette(app);
7880 if (seen().includes(label)) bad.push({ check: `no read of private ${label} (terminal)`, why: "the palette names it for a stranger" });
7981 await press("esc");
8082 continue;

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs