sokko-g/e2e/home.spec.js
Shinuwa 5c8148c905
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
Add Playwright visual smoke test
2026-08-22 23:42:37 +02:00

13 lines
462 B
JavaScript

// Rôle : vérifie en navigateur que le shell principal se charge pour les diagnostics visuels.
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
});
});