Playwright · Senior · Question 24 of 77
Why can typing into a debounced search field cause flaky results?
- 1Results may come after the check or show stale data
- 2Debounced inputs ignore all keyboard events
- 3Playwright types too slowly for debounced inputs
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.