Fit the collection descriptions in the pack tiles
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m13s
Validate and deploy Sokko G / deploy (push) Successful in 11s

The Primordial Nebula description grew to about 125 characters during
the lore rewrite and overflowed the three-line pack tile, failing the
pack opening e2e test; La Longue Nuit would have done the same once
enabled. Both are now under 65 characters, a limit the lore guide now
records. The admin e2e test also counted three collections and now
expects the four in the catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-09 11:52:29 +01:00
parent 138a2f05bf
commit 24d08b6b3d
4 changed files with 7 additions and 5 deletions

View file

@ -550,7 +550,7 @@ test("administrator navigates sections, manages mythic content and previews visu
await expect(page.locator(".nebula-dashboard-stat .nebula-dashboard-stat-label")).toHaveText(["Joueurs", "Collections actives", "Cartes différentes"]);
const collectionsStat = page.locator(".nebula-dashboard-stat").filter({ has: page.getByText("Collections actives", { exact: true }) });
await expect(collectionsStat.locator("strong")).toHaveText("3");
await expect(collectionsStat.locator("small")).toHaveText("sur 3 collections au total");
await expect(collectionsStat.locator("small")).toHaveText("sur 4 collections au total");
await expect(page.locator(".nebula-dashboard-stat").filter({ has: page.getByText("Cartes différentes", { exact: true }) }).locator("small")).toHaveText(/^dont [0-9]+ variantes? mythiques?$/);
// Les joueurs sont dans la vue d'ensemble : l'ancienne adresse y redirige.
const players = page.locator(".nebula-admin-player-list");
@ -577,7 +577,7 @@ test("administrator navigates sections, manages mythic content and previews visu
await page.goto("/#/cards/admin/collections");
await expect(navigation.getByRole("link", { name: "Collections" })).toHaveAttribute("aria-current", "page");
const collectionTiles = page.locator(".nebula-admin-collection-tile");
await expect(collectionTiles).toHaveCount(3);
await expect(collectionTiles).toHaveCount(4);
const genesisTile = page.getByRole("link", { name: "Ouvrir la collection Genèse Astrale" });
await expect(genesisTile).toContainText("Événement");
await expect(genesisTile.locator(".nebula-admin-collection-counts > span")).toHaveText(["10cartes", "11variations", "1mythique tirable"]);