// 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(); 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(); });