Commit 9a42dbf
fix(integration): fix login race condition in Selenium integration tests
The Selenium test InterpreterModeActionsIT.testPerUserIsolatedAction
fails intermittently due to two race conditions:
1. sendKeys may not complete before the login button is clicked,
causing the server to receive a null username. Fixed by clearing
the field first and verifying the value is non-empty before submit.
2. The login modal overlay remains visible after authentication,
causing ElementClickInterceptedException. Fixed by explicitly
waiting for modal invisibility and removing backdrop via JS.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 33214d4 commit 9a42dbf
1 file changed
Lines changed: 26 additions & 3 deletions
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
63 | 74 | | |
64 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
65 | 88 | | |
66 | 89 | | |
67 | 90 | | |
| |||
0 commit comments