Files
optima/e2e/demo.test.ts
T

8 lines
255 B
TypeScript

import { expect, test } from "@playwright/test";
test("app root renders visible content", async ({ page }) => {
await page.goto("/");
await expect(page.locator("body")).toBeVisible();
await expect(page.locator("body")).not.toHaveText(/^\s*$/);
});