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

Full suite red: test/tui-signins-password.test.ts #12819

Merged opened this in answer to

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

Merged

scout/forge:scout/12797-full-suite-red-test-tui-signins-password → main 2 commits fork

  • Merged. scout/12797-full-suite-red-test-tui-signins-password was merged into main as a10a428.

Review

Sign in to review this change.
1 file changed +10 −3
test/tui-signins-password.test.ts +10 −3
@@ -62,6 +62,13 @@ describe("changing your password from the terminal", () => {
6262 text();
6363 }
6464 },
65 /** The whole word at once, one settle: for tests whose leak check
66 * does not need every keystroke's frame. */
67 paste: async (word: string) => {
68 for (const ch of word) key(ch);
69 await settleApp(app);
70 text();
71 },
6572 open: async () => {
6673 key("k", true);
6774 await settleApp(app);
@@ -139,11 +146,11 @@ describe("changing your password from the terminal", () => {
139146 const h = boot("alice");
140147 await h.open();
141148 await h.press("p");
142 await h.type(OLD);
149 await h.paste(OLD);
143150 await h.press("enter");
144 await h.type(NEW);
151 await h.paste(NEW);
145152 await h.press("enter");
146 await h.type(`${NEW}-typo`);
153 await h.paste(`${NEW}-typo`);
147154 await h.press("enter");
148155 expect(h.text()).toContain("The two new passwords don't match.");
149156 await h.press("esc");

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs