Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

UI scale contract: count the save-temporary-chat button among the chat header's 30px controls (#11932)

Daniel Hanfa4a485fdf68
diff --git a/tests/studio/test_desktop_reliability_frontend_contract.py b/tests/studio/test_desktop_reliability_frontend_contract.py
index edc74fb41f9..0641293d5f5 100644
--- a/tests/studio/test_desktop_reliability_frontend_contract.py
+++ b/tests/studio/test_desktop_reliability_frontend_contract.py
@@ -2622,10 +2622,11 @@ _LENGTHS_THAT_MUST_KEEP_THE_SCALE = (
(AUDIO_PAGE, "", "h", "34px", 1),
(AUDIO_PAGE, "[&>button]:", "h", "34px", 1),
(VIDEO_PAGE, "!", "h", "34px", 2),
- # The chat page's 30px round controls, including the collapsed New Chat button. The
- # header they sit in grows with the setting, so one left fixed shrinks against its own row.
+ # The chat page's 30px round controls, including the collapsed New Chat button and the
+ # save-temporary-chat button beside them. The header they sit in grows with the setting, so
+ # one left fixed shrinks against its own row.
(CHAT_PAGE, "!", "size", "30px", 1),
- (CHAT_PAGE, "", "size", "30px", 3),
+ (CHAT_PAGE, "", "size", "30px", 4),
)
# Where a class may begin: the start of the string it is written in, or the space after the