seahaven-ap/e2e/home.spec.ts
Adam Moussa 20d6f56f7e
feat(frontend): add Stampli visual-parity chrome (AP-22) (#10)
Rebuild the mock SPA shell to match the live Stampli product map (header, module rail, invoice/payment tabs, stubs) and add a Sea Haven brand flag for AP-23 cutover.
2026-08-10 19:06:14 -04:00

10 lines
530 B
TypeScript

import { expect, test } from "@playwright/test";
test("home page shows Stampli-parity chrome and mocks", async ({ page }) => {
await page.goto("/");
await expect(page.getByTestId("app-wordmark")).toContainText("STAMPLI");
await expect(page.getByTestId("module-rail")).toBeVisible();
await expect(page.getByTestId("nav-invoice-processing")).toBeVisible();
await expect(page.getByTestId("page-title")).toHaveText("Invoice Processing");
await expect(page.getByTestId("mocks-status")).toContainText("Mocks enabled");
});