You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Site browser tests wait for visibility after an action #1326
Category: enhancement Summary: Site browser tests wait for visibility after an action instead of snapshotting it
Current behavior:
Several site browser tests click or press a key, then immediately assert isVisible(). This is a snapshot read with no waiting, so the tests race the page's event handlers and can fail intermittently.
Desired behavior:
Every visibility or state check that follows a user action uses a waiting assertion (locator.waitFor({ state }) or an equivalent polling helper already used in the suite), with the default timeout.
Key interfaces:
The site browser tests (see site/tests/README.md for setup and the runner)
Acceptance criteria:
No test asserts isVisible() (or another snapshot read) immediately after a click, key press or navigation
The site suite passes 10 consecutive runs locally
No retries are added to the test runner configuration
Activity