Split randomizer views and align NDS toolbox vocabulary
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s

This commit is contained in:
Shinuwa 2026-09-01 19:47:22 +02:00
parent 6b85e58765
commit fef7735a1d
57 changed files with 4932 additions and 4815 deletions

View file

@ -1,13 +1,15 @@
// Rôle : vérifie en navigateur que le shell principal se charge pour les diagnostics visuels.
// Rôle : vérifie en navigateur que la home charge les zones principales.
import { expect, test } from "@playwright/test";
test("home page renders the application shell", async ({ page }) => {
await page.goto("/");
await expect(page.locator(".app-shell")).toBeVisible();
await expect(page.locator("main")).toBeVisible();
await expect(page).toHaveScreenshot("home.png", {
fullPage: true,
maxDiffPixelRatio: 0.03
});
const main = page.getByRole("main");
await expect(main).toBeVisible();
await expect(main.getByRole("heading", { name: "Sokko G", exact: true })).toBeVisible();
await expect(main.getByRole("link", { name: "Voir les toolboxes", exact: true })).toBeVisible();
await expect(main.getByRole("link", { name: "Voir les jeux", exact: true })).toBeVisible();
await expect(page.locator(".home-stats")).toBeVisible();
await expect(page.locator(".origin-section")).toBeVisible();
});