Commit Graph

2 Commits

Author SHA1 Message Date
peptiderepo
da4662ae88 fix(ci): sync package-lock.json with package.json (unblock smoke npm ci)
Playwright packages were pinned at 1.59.1 in the lock but package.json
specifies ^1.60.0; typescript 6.0.3 was listed in package.json dependencies
but entirely absent from the lock. Both caused `npm ci` to abort, blocking
the org-wide smoke gate on every deploy pipeline.

Regenerated with `npm install --package-lock-only`:
- @playwright/test: 1.59.1 → 1.60.0
- playwright:       1.59.1 → 1.60.0
- playwright-core:  1.59.1 → 1.60.0
- typescript:       (missing) → 6.0.3

No source files, no version bumps, no behavior changes.

Agent-Session: e2e-lockfile-sync
2026-06-13 06:18:03 +00: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