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
fix(integration): fix login race conditions in Selenium integration tests
The Selenium test InterpreterModeActionsIT.testPerUserIsolatedAction
fails intermittently due to multiple race conditions in the login flow:
1. Pre-existing modal backdrop blocks navbar Login button click.
Fixed by dismissing any modal/backdrop via JS before starting.
2. sendKeys may not populate the field if Angular hasn't finished
initializing the form. Fixed by falling back to JavaScript-based
value injection with Angular input event trigger.
3. After login, wait for the user dropdown to appear (proves login
succeeded and DOM updated) instead of waiting for modal invisibility
which can race with Angular's digest cycle.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments