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
Vendored
+2
-2
@@ -18,7 +18,7 @@
|
||||
"slug": "projects",
|
||||
"title": "Projects",
|
||||
"status": "publish",
|
||||
"content": "<!-- wp:paragraph {\"className\":\"chrnx-page-kicker\"} --><p class=\"chrnx-page-kicker\">Software · investigación · sistemas expresivos</p><!-- /wp:paragraph --><!-- wp:pattern {\"slug\":\"chrnx/home-projects\"} /--><!-- wp:pattern {\"slug\":\"chrnx/project-detail\"} /-->"
|
||||
"content": "<!-- wp:paragraph {\"className\":\"chrnx-page-kicker\"} --><p class=\"chrnx-page-kicker\">Software · investigación · sistemas expresivos</p><!-- /wp:paragraph --><!-- wp:pattern {\"slug\":\"chrnx/home-projects\"} /--><!-- wp:chrnx/journal-stream {\"topic\":\"projects\"} /-->"
|
||||
},
|
||||
{
|
||||
"fixtureKey": "page-music",
|
||||
@@ -46,6 +46,6 @@
|
||||
"slug": "subscribe",
|
||||
"title": "Subscribe",
|
||||
"status": "publish",
|
||||
"content": "<!-- wp:heading {\"level\":2} --><h2 class=\"wp-block-heading\">Stay close to the work</h2><!-- /wp:heading --><!-- wp:paragraph --><p>New notes, experiments, music, and conversations. The final subscription provider will be connected before launch.</p><!-- /wp:paragraph -->"
|
||||
"content": "<!-- wp:heading {\"level\":2} --><h2 class=\"wp-block-heading\">Stay close to the work</h2><!-- /wp:heading --><!-- wp:paragraph --><p>New notes, experiments, music, and conversations.</p><!-- /wp:paragraph --><!-- wp:chrnx/subscribe-form /-->"
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user