Add board page smoke test to 03-admin-plugins.spec.ts under the 'WP Admin — PRAutoBlogger board page' describe block. The test navigates to /wp-admin/admin.php?page=prautoblogger-board and asserts: 1. HTTP 200 (not wp_die 404) 2. #wpbody visible (authenticated admin session confirmed) 3. body does NOT contain 'Invalid plugin page' (the wp_die string) 4. #prab-board container visible (selector from templates/admin/board-page.php) This guards against the v0.19.1 regression class: PRAutoBlogger_Board_Page was registered at admin_menu priority 10, before the parent top-level menu (also 10). WordPress computed the wrong hookname (admin_page_*) at add_submenu_page() time; at request time it recomputed prautoblogger_page_*, found nothing, and called wp_die() — 404. The board was un-navigable since v0.19.0 shipped. With this test in the deploy gate, this failure class is now un-shippable. Spec compiles and lists cleanly (npx playwright test --list: 23 tests). Cannot be validated against prod until v0.19.1 deploys; stated in spec comment. Agent-Session: board-404-hotfix-20260612
948 B
Changelog
All notable changes to the peptide-e2e smoke suite will be documented here.
[1.1.0] - 2026-06-12
Added
-
Board page smoke test (
03-admin-plugins.spec.ts—WP Admin — PRAutoBlogger board page). Navigates to/wp-admin/admin.php?page=prautoblogger-board, asserts HTTP 200,#prab-boardcontainer visible, and body does NOT contain "Invalid plugin page". Guards against the v0.19.1 regression class: Board submenu registered before parent menu existed (both at admin_menu priority 10) → WordPress fallback hookname → wp_die 404. Now in the deploy-gate smoke suite so this failure class is un-shippable.Note: cannot be validated against prod until v0.19.1 of PRAutoBlogger deploys. Spec compiles and lists cleanly under
npx playwright test --list.
[1.0.0] - 2026-06-11
Initial release. 21 tests across 5 specs: homepage, reconstitution calculator, peptide search, admin plugins, REST API.