mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-05 00:23:10 +00:00
10 lines
340 B
TypeScript
10 lines
340 B
TypeScript
import { test, expect } from "./fixtures"
|
|
import { dirPath, promptSelector } from "./utils"
|
|
|
|
test("project route redirects to /session", async ({ page, directory, slug }) => {
|
|
await page.goto(dirPath(directory))
|
|
|
|
await expect(page).toHaveURL(new RegExp(`/${slug}/session`))
|
|
await expect(page.locator(promptSelector)).toBeVisible()
|
|
})
|