Refresh catalog with complete metadata and Fakemon generation filter.

Updates 396-hack catalog data, banner manifest, and Playwright fixtures for full banner coverage, zero gap counts, and Fakemon roster tags in the Generation sidebar.
This commit is contained in:
ginnoir
2026-06-26 14:21:01 -05:00
parent 29d5817ed0
commit 26cafb2681
3 changed files with 4789 additions and 2130 deletions
+17 -18
View File
@@ -14,20 +14,19 @@ test('homepage presents balanced navigation and facet summaries', async ({ page
await expect(heroStats).toContainText('396');
await expect(heroStats).toContainText('hacks');
await expect(heroStats).toContainText('Platforms');
await expect(heroStats).toContainText('GBA 197');
await expect(heroStats).toContainText('NDS 47');
await expect(heroStats).toContainText('PC 66');
await expect(heroStats).toContainText('GBC 36');
await expect(heroStats).toContainText('GBA 201');
await expect(heroStats).toContainText('PC 77');
await expect(heroStats).toContainText('NDS 50');
await expect(heroStats).toContainText('GBC 37');
await expect(heroStats).toContainText('Types');
await expect(heroStats).toContainText('Expansion 144');
await expect(heroStats).toContainText('New Experience 156');
await expect(heroStats).toContainText('Difficulty 108');
await expect(heroStats).toContainText('QoL 54');
await expect(heroStats).toContainText('Expansion 165');
await expect(heroStats).toContainText('New Experience 165');
await expect(heroStats).toContainText('Difficulty 126');
await expect(heroStats).toContainText('QoL 88');
await expect(heroStats).toContainText('Status');
await expect(heroStats).toContainText('Complete 196');
await expect(heroStats).toContainText('Ongoing 34');
await expect(heroStats).toContainText('Beta 12');
await expect(heroStats).toContainText('Unclassified 153');
await expect(heroStats).toContainText('Complete 337');
await expect(heroStats).toContainText('Ongoing 30');
await expect(heroStats).toContainText('Beta 28');
});
test('homepage stat cards are polished and responsive', async ({ page }) => {
@@ -72,12 +71,12 @@ test('homepage browse summary links to grouped facet pages', async ({ page }) =>
const browse = page.getByRole('region', { name: 'Browse by catalog facets' });
await expect(browse.getByRole('heading', { name: 'Browse the archive' })).toBeVisible();
await expect(browse.getByRole('link', { name: /GBA\s+197/ })).toHaveAttribute('href', '/browse/platform/gba/');
await expect(browse.getByRole('link', { name: /Difficulty\s+108/ })).toHaveAttribute(
await expect(browse.getByRole('link', { name: /GBA\s+201/ })).toHaveAttribute('href', '/browse/platform/gba/');
await expect(browse.getByRole('link', { name: /Difficulty\s+126/ })).toHaveAttribute(
'href',
'/browse/type/difficulty/',
);
await expect(browse.getByRole('link', { name: /Complete\s+196/ })).toHaveAttribute(
await expect(browse.getByRole('link', { name: /Complete\s+337/ })).toHaveAttribute(
'href',
'/browse/status/complete/',
);
@@ -92,12 +91,12 @@ test('catalog search and filters update visible card count', async ({ page }) =>
await expect(catalogCards).toHaveCount(396);
await page.getByPlaceholder('Search hacks').fill('Radical Red');
await expect(catalogCards).toHaveCount(4);
await expect(catalogCards).toHaveCount(5);
await expect(page.getByRole('region', { name: 'Hack catalog' }).getByRole('link', { name: /Open Pokémon Radical Red/ })).toBeVisible();
await page.getByPlaceholder('Search hacks').fill('');
await page.getByLabel('GBA').check();
await expect(catalogCards).toHaveCount(197);
await expect(catalogCards).toHaveCount(201);
await page.getByLabel('Difficulty').check();
await expect(catalogCards.first()).toBeVisible();
@@ -195,6 +194,6 @@ test('browse pages render static grouped lists', async ({ page }) => {
await page.goto('/browse/type/difficulty/');
await expect(page.getByRole('heading', { name: 'Difficulty' })).toBeVisible();
await expect(page.locator('[data-card]:visible')).toHaveCount(108);
await expect(page.locator('[data-card]:visible')).toHaveCount(126);
await expect(page.getByRole('link', { name: /Open Pokémon Radical Red/ })).toBeVisible();
});