Make the broken mirror easier: wider margins, extra moves from balanced companions, hover outline on hard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bbfb08676f
commit
734a3b6a8b
13 changed files with 82 additions and 52 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue