mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-09-30 06:53:18 +00:00
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.
10 lines
530 B
TypeScript
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");
|
|
});
|