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:
7 files changed
+125
-30
No files matched your search
@@ -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();
|
||||
} );
|
||||
Reference in new issue
Block a user