Complete the Aniimo catalog from the official wiki
Add the missing Prismana forms of Pouchwisp, Glameep, Royalby, Jeburst and Ekrim and the Tempest form of Glameep, with their portraits. Rename Witchin to Hexxin and align the stats of Hexxin, Blazen and Waleetle, the elements of Fenrier's Nighttime form and seven homeland abilities with wiki.aniimo.com. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
52b35880f2
commit
5210503922
15 changed files with 236 additions and 48 deletions
|
|
@ -46,7 +46,7 @@ for (const width of [1280, 390]) {
|
|||
await expect(prismana).toHaveAttribute("aria-pressed", "false");
|
||||
await prismana.focus();
|
||||
await prismana.press("Space");
|
||||
await expect(cards(page)).toHaveCount(32);
|
||||
await expect(cards(page)).toHaveCount(37);
|
||||
await expect(prismana).toHaveText("Prismana");
|
||||
await expect(prismana).toHaveClass(/nds-filter-option/);
|
||||
const prismanaBadge = page.getByRole("button", { name: "Retirer le filtre Prismana", exact: true });
|
||||
|
|
@ -69,7 +69,7 @@ for (const width of [1280, 390]) {
|
|||
await expect(page.getByRole("heading", { name: "Aucun résultat" })).toBeVisible();
|
||||
await page.getByRole("button", { name: "Réinitialiser les filtres", exact: true }).click();
|
||||
await expect(prismana).toHaveAttribute("aria-pressed", "false");
|
||||
await expect(cards(page)).toHaveCount(253);
|
||||
await expect(cards(page)).toHaveCount(259);
|
||||
await expect(page.getByRole("button", { name: "Regrouper les variantes", exact: true })).toHaveAttribute("aria-pressed", "false");
|
||||
expect(await page.evaluate(() => globalThis.document.documentElement.scrollWidth <= globalThis.innerWidth)).toBe(true);
|
||||
});
|
||||
|
|
@ -133,7 +133,7 @@ test("catalogue, overview and deferred Aniimo loading preserve filters across na
|
|||
await expect(cover).toHaveCSS("height", "120px");
|
||||
await page.locator('a[href="#/games/aniimo/aniimos"]').click();
|
||||
await expect(cards(page)).toHaveCount(120);
|
||||
await expect(page.getByRole("status")).toHaveText("120 / 120 Aniimos · 253 / 253 variantes");
|
||||
await expect(page.getByRole("status")).toHaveText("120 / 120 Aniimos · 259 / 259 variantes");
|
||||
const switchLabel = page.getByRole("button", { name: "Regrouper les variantes", exact: true }).locator("span:not(.ui-icon)");
|
||||
expect(await switchLabel.evaluate((element) => element.scrollWidth <= element.clientWidth)).toBe(true);
|
||||
await page.getByRole("searchbox", { name: "Nom" }).fill("EMBERPUP");
|
||||
|
|
@ -182,7 +182,7 @@ test("tabs, flip, matching variants and reset remain independent", async ({ page
|
|||
await page.getByRole("button", { name: "Regrouper les variantes", exact: true }).click();
|
||||
await expect(cards(page)).toHaveCount(1);
|
||||
await page.getByRole("button", { name: "Réinitialiser les filtres", exact: true }).click();
|
||||
await expect(cards(page)).toHaveCount(253);
|
||||
await expect(cards(page)).toHaveCount(259);
|
||||
await expect(page.getByRole("button", { name: "Regrouper les variantes", exact: true })).toHaveAttribute("aria-pressed", "false");
|
||||
});
|
||||
|
||||
|
|
@ -485,7 +485,7 @@ for (const width of [768, 1440]) {
|
|||
await page.getByRole("button", { name: "Regrouper les variantes", exact: true }).click();
|
||||
await expect(cards(page)).toHaveCount(1);
|
||||
await page.getByRole("button", { name: "Réinitialiser les filtres", exact: true }).click();
|
||||
await expect(cards(page)).toHaveCount(253);
|
||||
await expect(cards(page)).toHaveCount(259);
|
||||
await expect(filterTrigger(page, "Régions")).toHaveAccessibleName("Régions");
|
||||
expect(await page.evaluate(() => globalThis.document.documentElement.scrollWidth <= globalThis.innerWidth)).toBe(true);
|
||||
await page.screenshot({ path: test.info().outputPath(`aniimo-regions-${width}.png`) });
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ test("Aniimo copies visible species or forms and round-trips through checklist i
|
|||
await expect.poll(() => page.evaluate(() => globalThis.navigator.clipboard.readText())).toBe("Loufeuteau:1");
|
||||
await page.getByRole("button", { name: "Regrouper les variantes", exact: true }).click();
|
||||
await expect(copy).toHaveAccessibleName(/toutes les variantes/);
|
||||
await expect(page.locator('[data-copy-target="true"]')).toHaveText("3 / 253 variantes");
|
||||
await expect(page.locator('[data-copy-target="true"]')).toHaveText("3 / 259 variantes");
|
||||
await copyVisibleResults(page);
|
||||
const text = await page.evaluate(() => globalThis.navigator.clipboard.readText());
|
||||
const imported = importChecklistText(text, { uid: (prefix) => `${prefix}-${Math.random()}`, normalizeChecklistData });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue