peptiderepo
9dd96c815a
feat(e2e): add PR Vision admin smoke spec (08)
Covers:
- Dashboard: HTTP 200, no fatal, h1 "PR Vision" heading visible
- Settings: page loads + API-key-manager card (#prv-key-card) present +
status indicator (#prv-key-source-badge) visible
- Write-only invariant: #prv_api_key input has value="" (stored key never
output); full page HTML asserted to not contain "sk-or-" prefix
- Costs (pr-vision-costs): loads without fatal
- Call Log (pr-vision-calls): loads without fatal
Skip-if-absent on every test: plugin absent or Settings page (v0.2.0
admin) not yet deployed => loud annotation + test.skip().
Selectors sourced from:
includes/core/class-prv-admin-page.php (h1 heading)
includes/core/class-prv-key-manager-renderer.php (#prv-key-card,
#prv-key-source-badge, #prv_api_key)
includes/core/class-prv-settings-page.php (MENU_SLUG)
includes/core/class-prv-costs-page.php (MENU_SLUG)
includes/core/class-prv-call-log-page.php (MENU_SLUG)
Agent-Session: claude/e2e-news-vision-admin-20260617
2026-06-17 01:30:21 +07:00
..
2026-06-09 13:45:06 +07:00
2026-06-09 22:20:39 +07:00
2026-06-09 22:20:39 +07:00
2026-06-12 18:29:25 +07:00
2026-06-09 22:20:39 +07:00
2026-06-12 22:04:20 +07:00
2026-06-15 01:53:49 +07:00
2026-06-17 01:29:21 +07:00
2026-06-17 01:30:21 +07:00