mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-20 01:07:23 +00:00
21 lines
537 B
TypeScript
21 lines
537 B
TypeScript
import { expect } from "e2e";
|
|
|
|
import { test, WEB } from "./hanzo.ts";
|
|
|
|
test(
|
|
"A seeded thread opens by its link and shows its history",
|
|
WEB,
|
|
async ({ hanzo, app, screen }) => {
|
|
const project = await hanzo.project("demo");
|
|
const thread = await hanzo.thread({
|
|
project,
|
|
title: "Earlier work",
|
|
messages: ["first", "second"],
|
|
});
|
|
await hanzo.open(thread);
|
|
|
|
await expect(screen.getByText("second fixture turn complete", { exact: false })).toBeVisible();
|
|
await app.screenshot("thread");
|
|
},
|
|
);
|