Make the broken mirror easier: wider margins, extra moves from balanced companions, hover outline on hard
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 18m58s
Validate and deploy Sokko G / deploy (push) Has been skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-29 09:43:13 +01:00
parent bbfb08676f
commit 734a3b6a8b
13 changed files with 82 additions and 52 deletions

View file

@ -2644,10 +2644,10 @@ test("an administrator opens the broken mirror and a player rebuilds the easy an
await expect(result).toContainText(`+${10 + normalLeft} poussière`);
await expect(result).toContainText("Illustration :");
// Le Difficile s'ouvre ensuite : 35 morceaux, sans contour vert.
// Le Difficile s'ouvre ensuite : 35 morceaux, le contour vert seulement au survol.
await page.getByRole("button", { name: "Jouer le Difficile", exact: true }).click();
await expect(pieces).toHaveCount(35);
await expect(board.locator("[data-placed]")).toHaveCount(0);
await expect(board).toHaveAttribute("data-placed-hover", "true");
await page.setViewportSize({ width: 768, height: 900 });
expect(await page.locator("html").evaluate((element) => element.scrollWidth > element.clientWidth)).toBe(false);
await page.setViewportSize({ width: 1280, height: 720 });