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.

Tests: follow the radius scale in the titlebar and remote access contracts (#14957)

Daniel Han5a04ef7a1498
diff --git a/tests/studio/test_desktop_reliability_frontend_contract.py b/tests/studio/test_desktop_reliability_frontend_contract.py
index 5cc912a13cb..cc7820bb18f 100644
--- a/tests/studio/test_desktop_reliability_frontend_contract.py
+++ b/tests/studio/test_desktop_reliability_frontend_contract.py
@@ -638,7 +638,7 @@ def test_expanded_titlebar_button_and_corner_match_sidebar_edge():
assert "dark:border-white" not in decoration
assert "dark:border-t-white" not in decoration
# Pinned, it is the sidebar's full-height edge: dark has no sidebar border-r to continue it.
- assert re.search(r'pinned &&\s*"rounded-tl-\[12px\] border-l"', decoration)
+ assert re.search(r'pinned &&\s*"rounded-tl-md border-l"', decoration)
assert re.search(
r'className="absolute top-\[12px\] '
r"h-\[calc\(100dvh-var\(--studio-custom-titlebar-height\)-12px\)\] "
diff --git a/tests/studio/test_settings_compact_overflow_contract.py b/tests/studio/test_settings_compact_overflow_contract.py
index 29a0c15502b..27e82da80cc 100644
--- a/tests/studio/test_settings_compact_overflow_contract.py
+++ b/tests/studio/test_settings_compact_overflow_contract.py
@@ -56,7 +56,7 @@ def test_remote_access_card_can_shrink():
source = REMOTE_ACCESS.read_text(encoding = "utf-8")
assert '<div className="flex min-w-0 items-start gap-3">' in source
assert '<div className="flex min-w-0 flex-col gap-0.5">' in source
- assert "block w-full break-all rounded-md" in source
+ assert "block w-full break-all border" in source
assert "<RemoteUrlPanel url={status?.url ?? null} />" in source