Playwright · Senior · Question 24 of 77

Why can typing into a debounced search field cause flaky results?

Show the answer

Correct answer: Results may come after the check or show stale data

Explanation

Assert on the final expected results, or wait for the matching response, instead of reading the list right after typing.

Further reading

Problem with a question

Playwright · Senior · question 24

Test yourself

Take the Playwright · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz