diff --git a/e2e/aniimo.spec.js b/e2e/aniimo.spec.js index 31b49a3..37aa08b 100644 --- a/e2e/aniimo.spec.js +++ b/e2e/aniimo.spec.js @@ -40,7 +40,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(31); + await expect(cards(page)).toHaveCount(32); await expect(prismana).toHaveText("Prismana"); await expect(prismana).toHaveClass(/nds-filter-option/); const prismanaBadge = page.getByRole("button", { name: "Retirer le filtre Prismana", exact: true }); @@ -63,7 +63,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(252); + await expect(cards(page)).toHaveCount(253); 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); }); @@ -128,7 +128,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 · 252 / 252 variantes"); + await expect(page.getByRole("status")).toHaveText("120 / 120 Aniimos · 253 / 253 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"); @@ -177,7 +177,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(252); + await expect(cards(page)).toHaveCount(253); await expect(page.getByRole("button", { name: "Regrouper les variantes", exact: true })).toHaveAttribute("aria-pressed", "false"); }); @@ -480,7 +480,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(252); + await expect(cards(page)).toHaveCount(253); 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`) }); diff --git a/e2e/guide-checklist.spec.js b/e2e/guide-checklist.spec.js index 4240626..efdd78d 100644 --- a/e2e/guide-checklist.spec.js +++ b/e2e/guide-checklist.spec.js @@ -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 / 252 variantes"); + await expect(page.locator('[data-copy-target="true"]')).toHaveText("3 / 253 variantes"); await copyVisibleResults(page); const text = await page.evaluate(() => globalThis.navigator.clipboard.readText()); const imported = importChecklistText(text, { uid: (prefix) => `${prefix}-${Math.random()}`, normalizeChecklistData }); diff --git a/website/public/data/aniimo/aniimos.json b/website/public/data/aniimo/aniimos.json index 1d091a8..d9d0fd4 100644 --- a/website/public/data/aniimo/aniimos.json +++ b/website/public/data/aniimo/aniimos.json @@ -8334,6 +8334,39 @@ "regen": 95 } } + }, + { + "form": "prismana_form", + "elements": [ + "dark", + "water" + ], + "homeland_abilities": [ + { + "type": "water", + "level": 4 + }, + { + "type": "crafting", + "level": 4 + }, + { + "type": "dark", + "level": 3 + } + ], + "role": "dps", + "attributes": { + "total": 506, + "stats": { + "hp": 96, + "break": 51, + "atk": 124, + "m_def": 72, + "p_def": 68, + "regen": 95 + } + } } ], "exploration": { diff --git a/website/public/static/img/aniimo/gachapus__prismana_form.webp b/website/public/static/img/aniimo/gachapus__prismana_form.webp new file mode 100644 index 0000000..e3e0461 Binary files /dev/null and b/website/public/static/img/aniimo/gachapus__prismana_form.webp differ