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:
9 files changed
+80
-23
No files matched your search
@@ -559,9 +559,9 @@ const immutableSurfaces = [
|
||||
],
|
||||
// Project names come from the project list query: picked projects newest-first,
|
||||
// then the most recent ones. This is the seeded order, not a frozen string.
|
||||
headings: [ 'Selected work', 'Ailed', 'Expressive Tea', 'Published research' ],
|
||||
headings: [ 'Proyectos', 'Ailed', 'Expressive Tea', 'Published research' ],
|
||||
paragraphs: [],
|
||||
contentText: 'Selected work Ailed Expressive Tea Published research',
|
||||
contentText: 'Proyectos Ailed Expressive Tea Published research',
|
||||
},
|
||||
{
|
||||
name: 'About',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user