From a28d4cbec0b43dc4088d400f83df8fe89f12ec5d Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 15 Aug 2026 16:19:25 -0500 Subject: [PATCH] test: describe the projects section as it is after the retirement Co-Authored-By: Claude Opus 5 (1M context) --- tests/e2e/editorial-editor.spec.mjs | 2 -- tests/e2e/music-podcast-stages.spec.mjs | 8 +++----- tests/e2e/visual-states.spec.mjs | 3 ++- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/e2e/editorial-editor.spec.mjs b/tests/e2e/editorial-editor.spec.mjs index 80e7252..dc81e97 100644 --- a/tests/e2e/editorial-editor.spec.mjs +++ b/tests/e2e/editorial-editor.spec.mjs @@ -47,6 +47,4 @@ test( 'editorial and podcast controls initialize in the real post editor', async await openPanel( 'Topic' ); await page.getByRole( 'radio', { name: 'Projects', exact: true } ).check(); await expect( page.getByLabel( 'Episode number', { exact: true } ) ).toBeHidden(); - await openPanel( 'Project' ); - await expect( page.getByLabel( 'Show in Selected work', { exact: true } ) ).toBeVisible(); } ); diff --git a/tests/e2e/music-podcast-stages.spec.mjs b/tests/e2e/music-podcast-stages.spec.mjs index 5d605b1..2cda062 100644 --- a/tests/e2e/music-podcast-stages.spec.mjs +++ b/tests/e2e/music-podcast-stages.spec.mjs @@ -557,11 +557,9 @@ const immutableSurfaces = [ 'alter-ego-research-768.webp', 'alter-ego-code-768.webp', ], - // 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: [ 'Proyectos', 'Ailed', 'Expressive Tea', 'Published research' ], - paragraphs: [], - contentText: 'Proyectos Ailed Expressive Tea Published research', + headings: [ 'Proyectos' ], + paragraphs: [ 'Lo que sobrevive a la loquera nocturna, con su repo y su estado real.' ], + contentText: 'Proyectos Lo que sobrevive a la loquera nocturna, con su repo y su estado real.', }, { name: 'About', diff --git a/tests/e2e/visual-states.spec.mjs b/tests/e2e/visual-states.spec.mjs index a8ed135..6103147 100644 --- a/tests/e2e/visual-states.spec.mjs +++ b/tests/e2e/visual-states.spec.mjs @@ -516,7 +516,8 @@ test( 'lower home panels survive missing media and reduced motion', async ( { pa expect( musicFallback.stageOverflow ).toBeLessThanOrEqual( 1 ); 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-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-subscribe-cta__link' ) ).toBeVisible();