a6f1950d41
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
24 lines
523 B
TypeScript
24 lines
523 B
TypeScript
import { test, expect } from "@playwright/test"
|
|
|
|
test("homepage renders heading", async ({ page }) => {
|
|
// given
|
|
await page.goto("/")
|
|
|
|
// when
|
|
const heading = page.getByRole("heading", { name: "The Best Agent Harness", level: 1 })
|
|
|
|
// then
|
|
await expect(heading).toBeVisible()
|
|
})
|
|
|
|
test("homepage renders description", async ({ page }) => {
|
|
// given
|
|
await page.goto("/")
|
|
|
|
// when
|
|
const description = page.getByText("The Best Agent Harness").first()
|
|
|
|
// then
|
|
await expect(description).toBeVisible()
|
|
})
|