seahaven-ap/e2e/home.spec.ts

11 lines
530 B
TypeScript
Raw Normal View History

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");
});