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 Compare chat into the More submenu in the extra UI driver (#6177)

Daniel Han9e2d17cc2d29
diff --git a/tests/studio/playwright_extra_ui.py b/tests/studio/playwright_extra_ui.py
index 20c7bda87c4..26c3c244ca8 100644
--- a/tests/studio/playwright_extra_ui.py
+++ b/tests/studio/playwright_extra_ui.py
@@ -332,6 +332,21 @@ with sync_playwright() as p:
plus_btn.click(force = True)
page.wait_for_timeout(400)
compare_item = page.get_by_role("menuitem", name = re.compile(r"Compare chat", re.I)).first
+ if compare_item.count() == 0:
+ # Compare chat moved into the "More" submenu; hover, then click fallback.
+ more_trigger = page.get_by_role("menuitem", name = re.compile(r"^More$", re.I)).first
+ if more_trigger.count() > 0:
+ more_trigger.hover()
+ page.wait_for_timeout(400)
+ compare_item = page.get_by_role(
+ "menuitem", name = re.compile(r"Compare chat", re.I)
+ ).first
+ if compare_item.count() == 0:
+ more_trigger.click(force = True)
+ page.wait_for_timeout(400)
+ compare_item = page.get_by_role(
+ "menuitem", name = re.compile(r"Compare chat", re.I)
+ ).first
if compare_item.count() > 0:
compare_item.click(force = True)
compare_opened = True