Co-authored-by: Clément Drouin <clement.drouin@mistral.ai>
Co-authored-by: Clément Sirieix <clement.sirieix@mistral.ai>
Co-authored-by: Guillaume LE GOFF <guillaume.lgf@gmail.com>
Co-authored-by: Mert Unsal <mertunsal1905@gmail.com>
Co-authored-by: Michel Thomazo <51709227+michelTho@users.noreply.github.com>
Co-authored-by: Quentin <quentin.torroba@mistral.ai>
Co-authored-by: Val <102326092+vdeva@users.noreply.github.com>
Co-authored-by: Vincent G <10739306+VinceOPS@users.noreply.github.com>
Co-authored-by: maximevoisin-pm <maxime.voisin@mistral.ai>
Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Mathias Gesbert 2026-05-27 17:10:40 +02:00 committed by GitHub
parent adb1ca74ce
commit cf3f4ca58f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
143 changed files with 3457 additions and 1351 deletions

View file

@ -166,7 +166,15 @@ async def test_ui_session_incremental_loader_keeps_top_alignment_when_not_scroll
app = VibeApp(agent_loop=agent_loop, plan_offer_gateway=_pro_plan_gateway())
async with app.run_test(size=(120, 80)) as pilot:
# Each UserMessage renders as ~3 rows (top margin + content + separator);
# add chrome (input box, banner, status) so all messages fit without scrolling.
user_message_rows = 3
chrome_rows = 40
viewport_height = (
HISTORY_RESUME_TAIL_MESSAGES + 1
) * user_message_rows + chrome_rows
async with app.run_test(size=(120, viewport_height)) as pilot:
await _wait_for_load_more(app, pilot.pause)
chat = app.query_one("#chat", ChatScroll)
assert chat.max_scroll_y == 0