AI for QA / Quiz
Review the AI-Scaffolded API Suite
Interrogate generated framework code for real APIs, meaningful checks, isolation, and maintainable boundaries.
- Difficulty
- Medium
- Format
- Quiz
- Points
- 150
- Estimate
- 8 min
// MISSION BRIEF
Your Mission
An assistant produced a runnable-looking API suite in one pass. Treat it as a draft under review. Use the supplied configuration and test excerpt to decide which structure is useful, which calls need verification, and which missing checks would make a green run misleading.
// FIRST CONTACT
Battle teaser
The generated Playwright configuration and test begin: use: { baseURL: process.env.API_URL } test("create customer", async ({ request }) => { const response = await request.post("/customers", { data: { email: "wave2@example.test" } }); expect(response.ok()).toBeTruthy(); }); Which part is a sound scaffold to keep while the suite is hardened?
- AThe assumption that any 2xx response proves the full customer contract
- BThe absence of cleanup because generated tests are automatically isolated
- CThe built-in request fixture plus an environment-supplied baseURL
- DThe fixed email reused by every parallel worker
// SKILL TAGS