Flows category icon
QA
Advanced

API/Error Handling QA

Verify every API contract and failure path: status codes, error shapes, timeouts, and frontend recovery.

5 steps15 verify checks60-90 minutesWorks with: emergent · chatgpt · claude · cursor
Start Guided Walkthrough

The Route

0/5 verified

Context Pack

Paste this first. It briefs the AI on requirements, constraints, and the Definition of Done before your first build prompt.

Context Pack
PROJECT CONTEXT:
I want my app's API layer verified: correct behavior on success, and defined, handled behavior on every failure.

GOAL:
Test every endpoint's contract and failure modes, and verify the frontend handles each failure visibly and recoverably.

REQUIREMENTS:
- An endpoint inventory with expected contracts
- Status code and error shape verification per endpoint
- Hostile input and edge testing on every route
- Frontend handling verified for each failure class
- Timeout and retry behavior defined and tested

CONSTRAINTS:
- Test with real requests, not code review
- Every failure class must be visible in the UI

DEFINITION OF DONE:
- Every endpoint returns correct codes for success and failures
- Error responses share a consistent, safe shape
- The frontend shows appropriate UI per failure class
- Slow responses hit timeouts with recoverable UX

COMMON FAILURES TO AVOID:
- 200 responses containing error strings
- 500s from bad user input instead of 400s
- Different error shapes per endpoint breaking the frontend
- No timeouts, so slow APIs hang the UI forever

Paste this into your AI builder first. It teaches the AI what you want before you give it the build prompt.

Related routes

More QA flows that share ground with this one.

Flows category icon
QA
Generated

صياغة الفرق بين الأسئلة البحثية والمساهمات في ورقة أو مشروع بحثي

تدفق عملي لمساعدة المستخدم على التمييز بوضوح بين الأسئلة البحثية والمساهمات، ثم صياغتهما بشكل صحيح وقابل للاستخدام في مقترح أو ورقة بحثية.

01تحديد السياق الذي ستستخدم فيه المفهومين
02استخراج تعريفين منفصلين وغير ملتبسين
03بناء مقارنة مباشرة بين المفهومين

+6 more steps to Done

Best forbuilders who have shipped a basic app before

9 steps30-60 minutesIntermediate
Flows category icon
QA

Accessibility QA

Make your app usable by everyone: keyboard, contrast, labels, focus, and screen-reader basics.

01Keyboard-only audit
02Fix keyboard operability
03Contrast and visual pass

+2 more steps to Done

Best forbuilders who have shipped a basic app before

5 steps60-90 minutesIntermediate
Flows category icon
QA

Auth Flow QA

Dedicated auth testing: signup, login, sessions, guards, reset, and the edge cases that expose fake auth.

01Test the signup surface
02Test the login surface
03Test the session lifecycle

+2 more steps to Done

Best forbuilders who have shipped a basic app before

5 steps45-75 minutesIntermediate

Made with Emergent