feat: add board Generate Now smoke spec (M4, skip-if-absent) — v1.5.0
Adds 06-board-generate-now.spec.ts for the PRAutoBlogger board Generate Now control shipping in v0.21.0 (PR #166). Two tests: 1. Board page loads and #prab-generate-now button is present with nonce. 2. Kick-off AJAX (prautoblogger_generate_now) returns valid JSON — no PHP fatal, no wp_send_json_error from a missing nonce. SKIP-IF-ABSENT: when #prab-board or #prab-generate-now is absent (M4 not yet deployed) both tests skip with loud annotations so this e2e PR can merge before prautoblogger PR #166 per the M2/M3 merge-order binding. READ-ONLY: never waits for generation to complete; kick_off() is idempotent (guards against duplicate cron scheduling). Agent-Session: phase2-admin-m4-20260614
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -2,6 +2,17 @@
|
||||
|
||||
All notable changes to the peptide-e2e smoke suite will be documented here.
|
||||
|
||||
## [1.5.0] - 2026-06-14
|
||||
|
||||
### Added
|
||||
- **Board Generate Now smoke (M4, skip-if-absent)** (`06-board-generate-now.spec.ts`).
|
||||
Asserts the PRAutoBlogger board page loads, `#prab-generate-now` button is present
|
||||
and carries a nonce, and the kick-off AJAX action returns valid JSON (no PHP fatal).
|
||||
READ-ONLY: never waits for generation to complete; `kick_off()` is idempotent.
|
||||
SKIPS with a loud annotation when `#prab-board` or `#prab-generate-now` is absent
|
||||
(v0.21.0 M4 not yet deployed) so the e2e PR can merge before prautoblogger PR #166
|
||||
per the M2/M3 merge-order binding. 27 tests total (was 25), delta = 2.
|
||||
|
||||
## [1.4.0] - 2026-06-12
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user