10 lines
335 B
TypeScript
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");
|
|
});
|