v2.10.0 (#697)
Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Corentin André <corentin.andre@mistral.ai> Co-authored-by: Guillaume LE GOFF <guillaume.lgf@gmail.com> Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com> Co-authored-by: Maxime Dolores <maxime.dolores@ext.mistral.ai> Co-authored-by: Nelson PROIA <144663685+Nelson-PROIA@users.noreply.github.com> Co-authored-by: Peter Evers <pevers90@gmail.com> Co-authored-by: Pierre Rossinès <pierre.rossines@mistral.ai> Co-authored-by: Quentin <quentin.torroba@mistral.ai> Co-authored-by: Vincent G <10739306+VinceOPS@users.noreply.github.com> Co-authored-by: MichisGitIsKing <MichisGitIsKing@users.noreply.github.com> Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
626f905186
commit
228f3c65a9
158 changed files with 7235 additions and 916 deletions
|
|
@ -61,10 +61,15 @@ async def test_ui_navigation_restores_partially_typed_draft_after_round_trip(
|
|||
async with vibe_app.run_test() as pilot:
|
||||
inject_history_file(vibe_app, history_file)
|
||||
chat_input = vibe_app.query_one(ChatInputContainer)
|
||||
textarea = chat_input.input_widget
|
||||
assert textarea is not None
|
||||
|
||||
await pilot.press(*"he")
|
||||
assert chat_input.value == "he"
|
||||
|
||||
await pilot.press("up")
|
||||
assert chat_input.value == "he"
|
||||
assert textarea.cursor_location == (0, 0)
|
||||
await pilot.press("up")
|
||||
assert chat_input.value == "how are you?"
|
||||
await pilot.press("down")
|
||||
|
|
@ -207,6 +212,7 @@ async def test_ui_intercepts_arrow_up_only_on_first_wrapped_row(
|
|||
while textarea.get_cursor_up_location() != textarea.cursor_location:
|
||||
textarea.action_cursor_up()
|
||||
|
||||
assert textarea.cursor_location == (0, 0)
|
||||
await pilot.press("up")
|
||||
assert chat_input.value == "how are you?"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue