Tasks /
Playwright /
Delayed table with search
Statement
medium
Delayed table with search
The page renders a table of customers 500 ms after load. Above the table there
is a search by name, case-insensitive.
Write Playwright tests:
- after load the table has 3 rows;
- searching for `bor` leaves one row (Boris);
- searching for `BOR` also leaves one;
- searching for `zzz` leaves no rows.
Do not use `sleep`. `expect(...).to_have_count(...)` waits for the right state on
its own — that is the point of the task.
AI mentor
The AI mentor is available after you log in: it sees your attempt history and does not spend resources on anonymous requests.
Log in and ask
Hints
1 of 3 unlocked · attempts: 0
Hint 1
The table does not appear immediately. What does
`expect(...).to_have_count(...)` do that a plain `assert` does not?
Hint 2 — unlocks after 1 attempt
Hint 3 — unlocks after 3 attempts