Commit cc7612b
test(teams): stop the add-team click from landing in a toast
addTeamHierarchy clicked the add button with `force: true`, which skips the
hit-target check. The backend fans delete/job notifications out to every
socket of the logged-in admin, so a parallel worker's success toast can sit
over that button — and with force the click was dispatched into the toast.
The click "succeeded", the modal never opened, and the failure surfaced 15s
later on the modal assertion.
Success toasts carry no close button and self-dismiss after 3.5s, so
clicking without force is the fix: the hit-target check waits the toast out.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent e5f28d1 commit cc7612b
1 file changed
Lines changed: 10 additions & 6 deletions
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
0 commit comments