Files
core/tests/e2e/onboarding.spec.ts
T
Abílio Costa 39e32ce0b2 Add playwright to e2e tests workflow (#176520)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-17 18:53:06 +02:00

11 lines
285 B
TypeScript

import { expect, test } from "@playwright/test";
test("fresh instance redirects to onboarding and renders the UI", async ({
page,
}) => {
await page.goto("/");
await expect(page).toHaveURL(/\/onboarding\.html/);
await expect(page.locator("ha-onboarding")).toBeVisible();
});