Loading…
Loading…
A test fails in CI. You have the trace, not the machine. From the trace viewer:
Error
1locator.click: Timeout 30000ms exceeded.
2Call log:
3 - waiting for getByRole('button', { name: 'Add to cart' })
4 - locator resolved to 12 elements. Proceeding with the first one:
5 <button class="btn btn-primary">Add to cart</button>
6 - attempting click action
7 - waiting for element to be visible, enabled and stable
8 - element is not enabled
9 - retrying click action
10 ... (29 more attempts)Network tab
| Request | Status | Duration |
|---|---|---|
| GET /api/products?page=1&pageSize=10 | 200 | 1,512 ms |
| GET /api/cart | 200 | 38 ms |
Response header on the products call: x-cache-status: HIT
Console: empty.
Your task: state what is wrong — there is more than one thing — in the order you would fix them. Explicitly separate what the trace proves from what it suggests.
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.