test: full Playwright + API test suite for stage #74

Merged
will.anderson merged 2 commits from dev into stage 2026-05-11 05:29:38 +00:00
Owner

Promotes test suite from dev. 159 tests green against stage.

All 159 Playwright tests pass against https://marketing-stage-r4tfklscwq-uc.a.run.app. CI step added to stage.yaml after the smoke test.

Promotes test suite from dev. 159 tests green against stage. All 159 Playwright tests pass against `https://marketing-stage-r4tfklscwq-uc.a.run.app`. CI step added to `stage.yaml` after the smoke test.
will.anderson added 2 commits 2026-05-11 05:29:28 +00:00
test: full Playwright + API test suite for stage
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m52s
cac7bd5727
159 tests across three Playwright projects (api, chromium, mobile):
- tests/api/security.test.ts: security headers, CORS on /api/supabase-config
  (origin allowlist enforced), auth gate on /api/demo, Stripe webhook
  signature enforcement, source file leakage, path traversal, input
  validation (8000-char message cap)
- tests/api/endpoints.test.ts: /api/health, /api/founding-count shape
  invariants, /api/supabase-config JWT shape, sitemap.xml, robots.txt,
  /llms.txt, /api/soul-health internal gate, 404 for unknown routes
- tests/e2e/landing.spec.ts: title, h1 count, meta description, OG tags,
  canonical (no stage leak), JSON-LD schema, demo widget DOM presence,
  JS error filtering (known GTM/CSP noise excluded)
- tests/e2e/seo.spec.ts: per-page title patterns, noindex on checkout,
  canonical URLs, sitemap production-URL enforcement
- tests/e2e/checkout.spec.ts: all three plan variants, auth section, payment
  element, canonical
- tests/e2e/chat.spec.ts: widget DOM structure, auth gate (send button
  disabled without session), API-level auth rejection
- tests/e2e/navigation.spec.ts: all public routes return 200, 404s for
  removed/old paths (/terms, /enterprise-terms, /gallery), static files

All 159 pass against stage. CI step added to stage.yaml after smoke test.
Merge fix/checkout-auth-reveal into dev
will.anderson merged commit 41f27e83aa into stage 2026-05-11 05:29:38 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#74