/** * @file Vérifie qu'un build dont Sokko TCG est désactivé n'annonce le jeu nulle part. */ import { expect, test } from "@playwright/test"; test("the site does not mention Sokko TCG while the game is disabled", async ({ page }) => { await page.goto("/#/about"); await expect(page.locator(".about-page .nds-page-hero h1")).toBeVisible(); await expect(page.locator(".nav-icon-cards")).toHaveCount(0); await expect(page.locator(".sidebar-note")).toContainText("Données stockées dans ce navigateur."); await expect(page.locator("body")).not.toContainText("Sokko TCG"); });