QA

QA test cases

Seeded test cases for presentation: access checks, subscription flow, route checks and mobile overflow.

Free user cannot download Pro skill manifest

Skill access

passedcritical
  1. Set demo plan to Free
  2. Request /api/skill-packs/large-codebase-refactor/manifest

Expected: API returns 403 with required plan information.

Notes: Prevents frontend-only locking bypass.

Free user can download Free skill manifest

Skill access

passedhigh
  1. Set demo plan to Free
  2. Request /api/skill-packs/ai-coding-starter/manifest

Expected: API returns 200 and a skill-pack manifest JSON.

Notes: Covers server-side entitlement for accessible packs.

Pricing plan change persists in database

Subscription demo

passedhigh
  1. POST /api/subscription/change with Premium
  2. GET /api/me

Expected: GET /api/me returns the demo user with Premium plan.

Notes: Demo flow replaces placeholder checkout links.

Mobile homepage has no horizontal overflow

Frontend QA

passedmedium
  1. Open homepage at 390px viewport
  2. Compare document scroll width to viewport width

Expected: Scroll width is not larger than viewport width.

Notes: Covered by smoke/qa scripts when a browser executable is available.