Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Frontend
/
Frontend
A Playwright assertion is flaky because content appears after an asynchronous request. Wh…
from Frontend
advanced
1 min
A Playwright assertion is flaky because content appears after an asynchronous request. Which fix best preserves the test contract?
Use a locator with a web-first assertion that retries until its timeout.
Add a fixed ten-second sleep before every assertion.
Catch and ignore the failed assertion on the first run.
Check
Ask AI about this kata
Report an error
previous kata
What is the main purpose of Storybook `args` in a component story?
Quiz
next kata
Which testing split gives fast diagnosis without giving up confidence in a critical check…
Quiz
A new version is available
Reload