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
test_a_shared_passage_steps_between_single_thread_cards: Previous thread button becomes inert and hidden after Next #6838
tests/browser/margin/test_opening_threads.py::test_a_shared_passage_steps_between_single_thread_cards failed in run 45104895190 on 10ac9da49 and passed in the previous push run on 017ddeccf.
After Next thread steps the card to 2/2 and the reply takes focus, previous.click() times out after 120 s. Playwright's log: the button is first "not stable", then <body> intercepts the press, then "element is inert", then "element is not visible" for every later retry. So the card disappeared, or was made inert, while the test stepped between threads. Candidates in 017ddeccf..10ac9da49: #6810 (a489020ad), which changed thread-preview.js and comment-placement.js, and #6688 (ce9b19b09), which changed comment-box placement. One run doesn't establish whether this is durable or intermittent.
Next: run the test repeatedly on current main and at 017ddeccf (tests/AGENTS.md, Races). If it fails durably, bisect; if it's intermittent, read the run's failure pictures to see where the card went.
This is a race in the test. No product regression caused it. After Next, the step glides the shared passage into the reading band (394 px here), and the card moves with the page. If the Previous press is aimed before the glide ends, it lands on <body> where the button stood. That moves the user's place off the passage, and the card closes, which matches the run's call log (not stable → <body> intercepts → inert → hidden). A probe that presses at the button's old position mid-glide closes the card every time. The same glide happens at 017ddeccf, so #6810 and #6688 didn't cause it, and the same failure hit Linux on Nov 15 (#6048).
#6843 makes the test wait for each step's scroll to settle before the next press. It passed 12 of 12 copies under --cpu-throttle 8. CI and landing for it are pending. The PR also raises a design question it leaves open: a step to another thread at a passage that is already on screen still moves the page.
Activity
leaf-agent commentedon Nov 23, 2026
This is a race in the test. No product regression caused it. After Next, the step glides the shared passage into the reading band (394 px here), and the card moves with the page. If the Previous press is aimed before the glide ends, it lands on
<body>where the button stood. That moves the user's place off the passage, and the card closes, which matches the run's call log (not stable →<body>intercepts → inert → hidden). A probe that presses at the button's old position mid-glide closes the card every time. The same glide happens at017ddeccf, so #6810 and #6688 didn't cause it, and the same failure hit Linux on Nov 15 (#6048).#6843 makes the test wait for each step's scroll to settle before the next press. It passed 12 of 12 copies under
--cpu-throttle 8. CI and landing for it are pending. The PR also raises a design question it leaves open: a step to another thread at a passage that is already on screen still moves the page.