test(app): change language test (#11295)

This commit is contained in:
Filip
2026-01-30 19:04:02 +01:00
committed by GitHub
parent fe66ca163c
commit f48e2e56c9
24 changed files with 84 additions and 68 deletions

View File

@@ -0,0 +1,9 @@
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()
})