Commit Graph

6 Commits

Author SHA1 Message Date
peptiderepo
d194e2109f 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
2026-06-14 14:02:29 +00:00
peptiderepo
65c5de61cb test: dossier edit+rerun smoke (M3, skip-if-absent) — v1.4.0 (#15)
QA: APPROVE (companion verdict in qa-reviews/prautoblogger/2026-06-12-6ed639d.md check 10). Skip-if-absent per M3 binding.

Agent-Session: cto-e2e-merge-20260612
2026-06-12 22:04:20 +07:00
peptiderepo
d590dc9dee fix(auth): survive ERR_ABORTED in login retry — recreate context, 5 attempts with backoff (#16)
QA: APPROVE (qa-reviews/peptide-e2e/). CEO program greenlight 2026-06-12.

Agent-Session: cto-e2e-merge-20260612
2026-06-12 22:02:51 +07:00
peptiderepo
a05d90405d Dossier admin smoke: gate deploys on prautoblogger-dossier rendering (#14)
Merged ahead of the v0.19.3 dossier fix so staging smoke gates it.
QA: APPROVE qa-reviews/peptide-e2e/2026-06-12-0c5c301.md (re-head after conflict resolution)

Agent-Session: cto-dossier-403-hotfix-20260612
2026-06-12 18:29:25 +07:00
peptiderepo
52a05f994c Board admin smoke: assert prautoblogger-board renders for admin (#13)
Guards the submenu-before-parent 404 class in the deploy gate.
QA: APPROVE-W-P2 qa-reviews/peptide-e2e/2026-06-12-113bb17.md

Agent-Session: cto-board-404-hotfix-merge-20260612
2026-06-12 16:05:30 +07:00
peptiderepo
d46a1e4680 feat: initial Playwright smoke suite
20 tests across 5 files covering all plugin surfaces on staging:
- Homepage load and PHP fatal detection
- Reconstitution Calculator shortcode + math
- Peptide Search AI widget + AJAX response
- Admin: all plugins active, PSA + PRAutoBlogger settings pages
- REST API: prc/v1/presets, peptides/v1/search, compounds, CPT types

Staging shortcode pages:
  /reconstitution-calculator/ - [prc_calculator]
  /search-peptides/           - [peptide_search]
  /peptide-directory/         - [peptide_directory]

GHA workflow: smoke.yml supports manual dispatch + workflow_call
for use as a deploy gate from plugin repos.
2026-04-26 04:39:13 +00:00