snapify-authentik/tests/landing.spec.ts
2023-04-15 20:13:19 +02:00

10 lines
335 B
TypeScript

import { test, expect } from "@playwright/test";
test("should show logged in state on landing page", async ({ page }) => {
await page.goto("http://localhost:3000/");
await expect(
page.locator(
"div.flex.flex-col.items-center.gap-2 > div > p > span:nth-child(1)"
)
).toContainText("Logged in as E2E Account");
});