Repository navigation
Commit a03fc9b
committed
test(e2e): capture the picker's state when the 409 journey's click times out
test_409_from_a_second_tab_offers_reattach_that_adopts_the_session failed
on PR #24's first run (35380095596, e2e 568/569) with the same symptom
c8b832f addressed on 2026-09-18: Locator.click on the Start button
timed out, "element is not visible", after the settled wait it added had
passed. That fix rested on init()'s state fetch landing late; this
recurrence says that was not the whole mechanism.
Read against the second failure: the timer has no periodic state poll,
its only click-free adopt path is init()'s single fetch (which the
settled wait covers — `topic` starts as 'Loading...'), the console's own
load-time adoption writes nothing into the timer, and no nav.go fires
without a click. Nothing found explains a hidden picker. The failure
diagnostics artifact held nothing for this test either: the timeout fires
before its own _diag hook.
So the click now records what a third occurrence needs — the nav view,
sessionActive/starting/topic/agent/resolvedTopic, the held conflict id,
the picker's computed display, the button's disabled state and the URL —
to a JSON beside a screenshot and DOM dump, then re-raises. No behaviour
or timing changed: the fix must rest on that evidence, not on a guess.
Class 7/7 locally in natural order; ruff/pyright clean.1 parent ad598fb commit a03fc9b
1 file changed
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
351 | 387 | | |
352 | 388 | | |
353 | 389 | | |
| |||
0 commit comments