Loading…
Loading…
GET /api/products/:id returns a product object. A colleague asserts only status == 200.
Your task: list the fields you would validate, which are required vs optional, and one assertion that catches a regression without hard-coding seed data.
Write your own answer first — the defect report, the case table, the locator, whatever the question asks for. An interviewer grades your reasoning, not your recall.
Practice this live with an AI interviewer
Starts a QA mock interview pre-filled with this problem — you can edit the brief before starting.