Skip to main content

Fake Store Warmup Fails Product Contract Probe

EasyDashboardsAPI

Task

Run GET /_api-sandbox/products/1 -> GET /_api-sandbox/products/categories and validate each response before continuing

Success

  • Use Playwright request fixture/context for every API call
  • Keep traffic on /_api-sandbox only
  • Run strict order: GET /_api-sandbox/products/1 -> GET /_api-sandbox/products/categories

Rules

  • No local mocks or off-target HTTP calls
  • No reordered flow steps
  • No end-only assertions

Mutation

  • Order and payload checks are both graded
  • Bypassing /_api-sandbox fails grading
Hint 1

• Action: send GET /_api-sandbox/products/1 • Action: send GET /_api-sandbox/products/categories

Hint 2

• Assertion: assert 200 (or another 2xx) response • Assertion: assert payload has numeric id

Hint 3

• Assertion: assert payload is a non-empty categories array

0 Online

Code

Auto
Saved
Ln 1, Col 1
You need to log in / sign up to run or submit

API sandbox console

Docs quick reference
Run guide

Run your test to unlock captured requests and checks.

Appears after first run · Appears after evaluation

Expected flow
Step inspector
GET /_api-sandbox/products/1Pending
Contract expectation
Product contractverify 200 and numeric id
Last capture
No requests captured yet
Grader checks
  • Use Playwright request fixture/context
  • Stay on /_api-sandbox/* paths
  • Preserve the required request order
  • Assert immediately after each call
Captured: 0Matched: 0/2Issues: 0No run yet