7759e972surfaces

/api/og returns 1200×630 PNG

Pages, routes, and HTTP endpoints the deployed app must expose. Probes verify HTTP status, expected JSON shape, and visual landmarks.

Cross-agent verdicts

Loading verdicts…

Plan source

What TestSprite reads

The testing agent reads this JSON, opens the deployed URL in headless Chromium, executes each action step, evaluates each assertion. Verdict: passed / failed / blocked / inconclusive.

{
  "projectId": "1ad26753-ee03-4689-8f0f-6fa5d67c5c72",
  "type": "frontend",
  "name": "OG image — per-fixture dynamic PNG with correct headers",
  "description": "GET /api/og?id=r16-1 returns a 1200×630 PNG with image/png content-type. Tests both presence and basic shape; full pixel inspection lives in the performance category (under-3s p95 latency).",
  "priority": "p1",
  "metadata": {
    "category": "surfaces",
    "stage": "all"
  },
  "planSteps": [
    {
      "type": "action",
      "description": "Navigate to /api/og?id=r16-1"
    },
    {
      "type": "assertion",
      "description": "Verify the response content-type header is image/png and the response body is a PNG (starts with the magic bytes 89 50 4E 47)"
    },
    {
      "type": "assertion",
      "description": "Verify the response cache-control header allows at least 60 seconds of caching (e.g. 'public, max-age=60' or stronger) so share previews don't re-render every hit"
    }
  ]
}
View on GitHub →