mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-01 00:24:13 -05:00
16 lines
433 B
TypeScript
16 lines
433 B
TypeScript
import { expect, test } from "./helpers/playwright";
|
|
import { FrontPage } from "./pages/front-page/front-page";
|
|
|
|
test.describe("Welcome", () => {
|
|
test("navigates to the welcome page via the front page banner when not logged in", async ({
|
|
page,
|
|
}) => {
|
|
const front = new FrontPage(page);
|
|
await front.goto();
|
|
|
|
const welcome = await front.openWelcomeBanner();
|
|
|
|
await expect(welcome.locators.heading).toBeVisible();
|
|
});
|
|
});
|