test: cover the new content models and stop duplicate terms

Seeding guarded with term_exists(), which reads a cache that is not
always warm during activation and let a second activation insert
gaming-2, literature-2 and silicon-ranch-2. It asks the taxonomy
directly now, by slug and by name.

Fixtures gain projects and tracks, and the suites follow the assets to
their generated derivatives. Also widens the Site Editor poll, which
threw instead of retrying while the editor was still booting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-08-13 19:42:07 -05:00
1 parent df117e67bb
commit cb491adae6
7 files changed
+125 -30

No files matched your search

+7
View File
@@ -42,4 +42,11 @@ test( 'editorial and podcast controls initialize in the real post editor', async
await expect( page.getByLabel( 'Duration', { exact: true } ) ).toBeVisible();
await expect( page.getByLabel( 'Participants (one per line)', { exact: true } ) ).toBeVisible();
await expect( page.getByLabel( 'Canonical episode URL', { exact: true } ) ).toBeVisible();
// Switching topic swaps which per-topic panel is offered.
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();
} );