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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio Playwright: snooze update banner before sending (#6576)
Daniel Han3a9fc34fcf4a
diff --git a/tests/studio/playwright_chat_ui.py b/tests/studio/playwright_chat_ui.pyindex 54e9ca2f460..f9147054ee9 100644--- a/tests/studio/playwright_chat_ui.py+++ b/tests/studio/playwright_chat_ui.py@@ -569,6 +569,21 @@ with sync_playwright() as p:# this at temp 0), and the old non-empty predicate got stuck# on such bubbles.bubbles_before = _bubble_count()+ # The llama.cpp and web update banners are fixed bottom-right toasts+ # (z-9998 / z-9999) that can overlap the composer's Send button and+ # intercept the click. Snooze whichever is showing before sending.+ for prefix in ("llama", "web"):+ snooze_btn = page.locator(f'[data-testid="{prefix}-update-snooze-button"]')+ if snooze_btn.count():+ try:+ snooze_btn.first.click(timeout = 2_000)+ page.wait_for_selector(+ f'[data-testid="{prefix}-update-banner"]',+ state = "detached",+ timeout = 5_000,+ )+ except Exception:+ passcomposer.click()composer.fill(prompt)page.locator('button[aria-label="Send message"]').click()