Testing — Poll, Don't Sleep
RULES.md
Do not wait for asynchronous work in tests (or e2e flows) with a fixed `setTimeout`/sleep. Poll for the condition the test actually needs (a property, attribute, rendered node or dialog) with a bounded timeout, so a slow CI runner passes and a real failure still reports the real assertion. Use fixed waits only to prove that something does not happen. In PRAW RULES.md (scope: webcomponents). Nothing enforces this yet.
Status: gap
Connects to
- Build & Development Workflow includes this