data: sync catalog to 415 hacks and ship the update-swarm version bumps
Adds three new GBA Emerald hacks on pokeemerald-expansion: - Homestead 1.0.1 — TARC 3 entry, battle-free breeder matchmaking puzzle - Investigations: Turnabout at Sea 1.0.2 — TARC 3 entry, Ace Attorney Investigations crossover with five endings - Wishes of Tomorrow 1.2.6 — new region, three acts, full Shadow Pokemon system including Shadow Megas This also stops splicing the sync against the committed baseline. The 10 update-swarm version bumps that have been held back are now shipped with the rest of the catalog, since the branch has been merged to main in the pokemon repo: Infinity 3.3.4, HGSS Sevii 1.2.0, Nebula 1 1.4, Nebula 3, Hero Legacy 3.0.8, Acceptance 4.2, A Star in the Desert, Eon Guardians, Gadir Deluxe and Jam Festival. Turnabout at Sea is the third Crossover-tagged hack, so /browse/type/ crossover/ now has a populated facet page. Fixtures bumped to measured reality: 415 total, GBA 209, Expansion 171, New Experience 183, QoL 98, Complete 352, plus the two toHaveCount assertions (415 / 209). Verified: npm run check (0 errors, vitest 9/9), npm run build (490 pages, banners 415/415), CI=1 npm run test:ui (8/8), deployed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58441f0e6c
commit
1a953ca8b5
3 files changed
+208
-21
No files matched your search
+10
-10
@@ -11,20 +11,20 @@ test('homepage presents balanced navigation and facet summaries', async ({ page
|
||||
await expect(primaryNav.getByRole('link', { name: 'Difficulty' })).toHaveCount(0);
|
||||
|
||||
const heroStats = page.locator('.hero-stats');
|
||||
await expect(heroStats).toContainText('412');
|
||||
await expect(heroStats).toContainText('415');
|
||||
await expect(heroStats).toContainText('hacks');
|
||||
await expect(heroStats).toContainText('Platforms');
|
||||
await expect(heroStats).toContainText('GBA 206');
|
||||
await expect(heroStats).toContainText('GBA 209');
|
||||
await expect(heroStats).toContainText('PC 86');
|
||||
await expect(heroStats).toContainText('NDS 52');
|
||||
await expect(heroStats).toContainText('GBC 37');
|
||||
await expect(heroStats).toContainText('Types');
|
||||
await expect(heroStats).toContainText('Expansion 170');
|
||||
await expect(heroStats).toContainText('New Experience 180');
|
||||
await expect(heroStats).toContainText('Expansion 171');
|
||||
await expect(heroStats).toContainText('New Experience 183');
|
||||
await expect(heroStats).toContainText('Difficulty 127');
|
||||
await expect(heroStats).toContainText('QoL 97');
|
||||
await expect(heroStats).toContainText('QoL 98');
|
||||
await expect(heroStats).toContainText('Status');
|
||||
await expect(heroStats).toContainText('Complete 349');
|
||||
await expect(heroStats).toContainText('Complete 352');
|
||||
await expect(heroStats).toContainText('Ongoing 30');
|
||||
await expect(heroStats).toContainText('Beta 32');
|
||||
});
|
||||
@@ -71,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+206/ })).toHaveAttribute('href', '/browse/platform/gba/');
|
||||
await expect(browse.getByRole('link', { name: /GBA\s+209/ })).toHaveAttribute('href', '/browse/platform/gba/');
|
||||
await expect(browse.getByRole('link', { name: /Difficulty\s+127/ })).toHaveAttribute(
|
||||
'href',
|
||||
'/browse/type/difficulty/',
|
||||
);
|
||||
await expect(browse.getByRole('link', { name: /Complete\s+349/ })).toHaveAttribute(
|
||||
await expect(browse.getByRole('link', { name: /Complete\s+352/ })).toHaveAttribute(
|
||||
'href',
|
||||
'/browse/status/complete/',
|
||||
);
|
||||
@@ -88,7 +88,7 @@ test('catalog search and filters update visible card count', async ({ page }) =>
|
||||
await expect(page).toHaveTitle(/ROM Hack Archive/);
|
||||
await expect(page.getByRole('heading', { name: 'ROM Hack Archive' })).toBeVisible();
|
||||
const catalogCards = page.locator('[data-card-grid] [data-card]:visible');
|
||||
await expect(catalogCards).toHaveCount(412);
|
||||
await expect(catalogCards).toHaveCount(415);
|
||||
|
||||
await page.getByPlaceholder('Search hacks').fill('Radical Red');
|
||||
await expect(catalogCards).toHaveCount(5);
|
||||
@@ -96,7 +96,7 @@ test('catalog search and filters update visible card count', async ({ page }) =>
|
||||
|
||||
await page.getByPlaceholder('Search hacks').fill('');
|
||||
await page.getByLabel('GBA').check();
|
||||
await expect(catalogCards).toHaveCount(206);
|
||||
await expect(catalogCards).toHaveCount(209);
|
||||
|
||||
await page.getByLabel('Difficulty').check();
|
||||
await expect(catalogCards.first()).toBeVisible();
|
||||
|
||||
Reference in new issue
Block a user