Test onboarding visibility in production builds
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s

This commit is contained in:
Shinuwa 2026-09-13 20:55:46 +02:00
parent 6de016ec7b
commit 713bc3b70e
9 changed files with 87 additions and 4 deletions

View file

@ -71,6 +71,10 @@ test("home onboarding creates the initial tools and starts the tutorial", async
await expect(page.locator('[data-module-type="memos"]')).toBeVisible();
await expect(page.locator('[data-module-type="links"]')).toBeVisible();
await expect(page.locator(".toolbox-tutorial-count")).toHaveText(/^1\//);
await page.goto("/#/");
await expect(page.getByRole("region", { name: content.title, exact: true })).toBeVisible();
await page.reload();
await expect(page.getByRole("region", { name: content.title, exact: true })).toBeVisible();
});
test("about reuses onboarding without creation and exposes tool examples and destinations", async ({ page }) => {