test: describe the projects section as it is after the retirement

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-08-15 16:19:25 -05:00
1 parent 6f418f1a51
commit a28d4cbec0
3 files changed
+5 -8

No files matched your search

-2
View File
@@ -47,6 +47,4 @@ test( 'editorial and podcast controls initialize in the real post editor', async
await openPanel( 'Topic' ); await openPanel( 'Topic' );
await page.getByRole( 'radio', { name: 'Projects', exact: true } ).check(); await page.getByRole( 'radio', { name: 'Projects', exact: true } ).check();
await expect( page.getByLabel( 'Episode number', { exact: true } ) ).toBeHidden(); await expect( page.getByLabel( 'Episode number', { exact: true } ) ).toBeHidden();
await openPanel( 'Project' );
await expect( page.getByLabel( 'Show in Selected work', { exact: true } ) ).toBeVisible();
} ); } );
+3 -5
View File
@@ -557,11 +557,9 @@ const immutableSurfaces = [
'alter-ego-research-768.webp', 'alter-ego-research-768.webp',
'alter-ego-code-768.webp', 'alter-ego-code-768.webp',
], ],
// Project names come from the project list query: picked projects newest-first, headings: [ 'Proyectos' ],
// then the most recent ones. This is the seeded order, not a frozen string. paragraphs: [ 'Lo que sobrevive a la loquera nocturna, con su repo y su estado real.' ],
headings: [ 'Proyectos', 'Ailed', 'Expressive Tea', 'Published research' ], contentText: 'Proyectos Lo que sobrevive a la loquera nocturna, con su repo y su estado real.',
paragraphs: [],
contentText: 'Proyectos Ailed Expressive Tea Published research',
}, },
{ {
name: 'About', name: 'About',
+2 -1
View File
@@ -516,7 +516,8 @@ test( 'lower home panels survive missing media and reduced motion', async ( { pa
expect( musicFallback.stageOverflow ).toBeLessThanOrEqual( 1 ); expect( musicFallback.stageOverflow ).toBeLessThanOrEqual( 1 );
await expect( page.locator( '.chrnx-home-music h2' ) ).toContainText( 'The No Names' ); await expect( page.locator( '.chrnx-home-music h2' ) ).toContainText( 'The No Names' );
await expect( page.locator( '.chrnx-home-music p' ) ).toHaveCount( 2 ); await expect( page.locator( '.chrnx-home-music p' ) ).toHaveCount( 2 );
await expect( page.locator( '.chrnx-home-projects h3' ) ).toHaveCount( 3 ); await expect( page.locator( '.chrnx-home-projects h2' ) ).toHaveText( 'Proyectos' );
await expect( page.locator( '.chrnx-home-projects p' ) ).toHaveCount( 1 );
await expect( page.locator( '.chrnx-home-about-preview p' ) ).not.toBeEmpty(); await expect( page.locator( '.chrnx-home-about-preview p' ) ).not.toBeEmpty();
await expect( page.locator( '.chrnx-subscribe-cta__link' ) ).toBeVisible(); await expect( page.locator( '.chrnx-subscribe-cta__link' ) ).toBeVisible();