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.

AppImage E2E: count the app shell as rendered when the splash is already gone (#15764)

Daniel Hanc61340c19bac
diff --git a/tests/studio/appimage_model_download_webdriver.py b/tests/studio/appimage_model_download_webdriver.py
index 73bcaff8733..fad1e2f3151 100644
--- a/tests/studio/appimage_model_download_webdriver.py
+++ b/tests/studio/appimage_model_download_webdriver.py
@@ -598,10 +598,13 @@ def main() -> None:
created = _request(base, "POST", "/session", capabilities, timeout = 60)
session_id = str(created["value"]["sessionId"])
+ # The splash can finish before the session attaches, so the app shell counts as rendered too;
+ # the handoff wait below still has to see the splash gone.
_wait_for(
base,
session_id,
- "return document.body && document.body.innerText.includes('Starting Unsloth')",
+ "return !!document.body && (document.body.innerText.includes('Starting Unsloth')"
+ " || !!document.querySelector('[data-testid^=\"nav-row-\"]'))",
"the packaged frontend to render",
)
_wait_for(