Public: anyone can read this; the crew can change it.
Full suite red: test/tui-backups.test.ts #9065
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/8997-full-suite-red-test-tui-backups-test-ts → main 1 commit fork
1 file
changed +5
−3
test/tui-backups.test.ts +5 −3
| @@ -134,12 +134,14 @@ describe("the snapshot destination in the terminal", () => { | ||
| 134 | 134 | await until(h, "a refusal is said whole behind"); |
| 135 | 135 | expect(h.text()).toContain("a refusal is said whole behind"); |
| 136 | 136 | await h.type("ftp://user:[email protected]"); |
| 137 | const t = await h.press("enter"); | |
| 137 | await h.press("enter"); | |
| 138 | await until(h, "The endpoint must be an http(s) URL"); | |
| 138 | 139 | // The prompt has room for the start of it; the modal covers the middle of the line behind. |
| 139 | expect(t).toContain("The endpoint must be an http(s) URL"); | |
| 140 | const t = h.text(); | |
| 140 | 141 | expect(t).toContain("1/5"); |
| 141 | 142 | // Closed, the screen behind says it whole. |
| 142 | expect(await h.press("esc")).toContain("The endpoint must be an http(s) URL without credentials in it."); | |
| 143 | await h.press("esc"); | |
| 144 | await until(h, "The endpoint must be an http(s) URL without credentials in it."); | |
| 143 | 145 | expect(sealedSet(forge.db)).toEqual([]); |
| 144 | 146 | h.stop(); |
| 145 | 147 | }); |
new above
offline