The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 03:37 UTC
| 1 | import { expect } from "e2e"; |
| 2 | |
| 3 | import { IOS, test } from "./t3-mobile.ts"; |
| 4 | |
| 5 | test( |
| 6 | "The iOS app lists a seeded thread and opens its history", |
| 7 | IOS, |
| 8 | async ({ t3, app, screen }) => { |
| 9 | const project = await t3.project("demo"); |
| 10 | await t3.thread({ project, title: "Earlier work", messages: ["first", "second"] }); |
| 11 | await t3.open(); |
| 12 | |
| 13 | const thread = screen.getByText("Earlier work", { exact: false }).first(); |
| 14 | await expect(thread).toBeVisible({ timeout: 120_000 }); |
| 15 | await app.screenshot("home"); |
| 16 | |
| 17 | await thread.tap(); |
| 18 | await expect(screen.getByText("second fixture turn complete", { exact: false })).toBeVisible(); |
| 19 | await app.screenshot("thread"); |
| 20 | }, |
| 21 | ); |