Add end-to-end coverage tracking: backend collects vitest coverage, records metrics with threshold/baseline tracking, and blocks acceptance on regression. Frontend displays coverage in gate/review panels with a "Collect Coverage" button. Includes 20 Rust tests, 17 Vitest tests, and 14 Playwright E2E tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
417 B
TypeScript
14 lines
417 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
|
|
test.describe("App boot smoke test", () => {
|
|
test("renders the project selection screen", async ({ page }) => {
|
|
await page.goto("/");
|
|
|
|
await expect(page.getByText("StorkIt")).toBeVisible();
|
|
await expect(page.getByPlaceholder("/path/to/project")).toBeVisible();
|
|
await expect(
|
|
page.getByRole("button", { name: "Open Project" }),
|
|
).toBeVisible();
|
|
});
|
|
});
|