The best way to control Claude Code, Codex and more from any computer or phone

main
ts 20 lines 522 Bytes
Raw
1 import { expect } from "e2e";
2
3 import { test, WEB } from "./t3.ts";
4
5 test(
6 "A seeded thread opens by its link and shows its history",
7 WEB,
8 async ({ t3, app, screen }) => {
9 const project = await t3.project("demo");
10 const thread = await t3.thread({
11 project,
12 title: "Earlier work",
13 messages: ["first", "second"],
14 });
15 await t3.open(thread);
16
17 await expect(screen.getByText("second fixture turn complete", { exact: false })).toBeVisible();
18 await app.screenshot("thread");
19 },
20 );