Restore React purity checks and streamline inline drafts
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s

This commit is contained in:
Shinuwa 2026-09-11 09:17:45 +02:00
parent 2bff58f08c
commit b9cc77a4d1
8 changed files with 111 additions and 10 deletions

View file

@ -160,6 +160,19 @@ test("loads randomizer tabs after module split", async ({ page }) => {
await randomizer.getByRole("tab", { name: "Équipes" }).click();
await expect(randomizer.getByLabel("Liste de noms")).toBeVisible();
await expect(randomizer.getByRole("button", { name: "Créer les équipes" })).toBeVisible();
await randomizer.getByRole("combobox", { name: "Répartition", exact: true }).selectOption("count");
const count = randomizer.getByRole("spinbutton", { name: "Nombre", exact: true });
await count.fill("5");
await count.blur();
await expect(count).toHaveValue("5");
await randomizer.getByRole("spinbutton", { name: "Équipes", exact: true }).fill("6");
await expect(count).toHaveValue("6");
await count.fill("");
await count.blur();
await expect(count).toHaveValue("6");
await randomizer.getByRole("tab", { name: "Dé", exact: true }).click();
await randomizer.getByRole("tab", { name: "Équipes", exact: true }).click();
await expect(count).toHaveValue("6");
});
test("creates a game-linked toolbox from the drawer", async ({ page }) => {