fix: fall back to placeholder art when a cover attachment is gone

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-08-15 15:34:37 -05:00
1 parent 77dc2ee33b
commit 6f418f1a51
9 files changed
+80 -23

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ test( 'home remains coherent at all approved review viewports', async ( { page }
await expect( page.locator( 'main#chrnx-main' ) ).toBeVisible();
await expect( page.getByRole( 'contentinfo' ) ).toBeVisible();
await expect( page.getByRole( 'heading', { level: 1 } ) ).toHaveCount( 1 );
await expect( page.getByText( 'Selected work', { exact: true } ) ).toBeVisible();
await expect( page.getByText( 'Proyectos', { exact: true } ) ).toBeVisible();
await expect( page.getByText( 'The No Names', { exact: true } ).first() ).toBeVisible();
await expect( page.locator( 'picture source[type="image/avif"]' ).first() ).toHaveAttribute(
'srcset',