fix(ui): thinking window no longer scrolls — live 320px view pinned to the stream tail
This commit is contained in:
@@ -250,9 +250,9 @@ def test_no_orphan_brain_message_when_navigated_before_first_token(
|
||||
page.click("#send-btn")
|
||||
expect(page.locator(".msg.user .bubble").last).to_contain_text(HESITATE_QUESTION)
|
||||
|
||||
# The mock streamed the ~800-char scratchpad (phase-17 thinking
|
||||
# frames); wait until its tail is rendered — the 4s pre-content pause
|
||||
# (SLOW_PRETOKEN_TRIGGER) is now running, so the navigation below
|
||||
# Wait until the scratchpad's tail is rendered (phase-17 thinking body,
|
||||
# ~2 700 chars / ≈4.5s, lengthened in phase 21) — the 4s pre-content
|
||||
# pause (SLOW_PRETOKEN_TRIGGER) is now running, so the navigation below
|
||||
# lands inside pure thinking with a wide margin.
|
||||
thinking = page.locator(".msg.brain").last.locator("details.thinking")
|
||||
thinking.wait_for(state="attached", timeout=10_000)
|
||||
|
||||
Reference in New Issue
Block a user