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
Find a LAN address's actions in its row, not the text's parent (#15109)
Daniel Han54ddc6932e84
diff --git a/tests/studio/playwright_settings_tabs.py b/tests/studio/playwright_settings_tabs.pyindex c87985f31f5..446f6c4f5e4 100644--- a/tests/studio/playwright_settings_tabs.py+++ b/tests/studio/playwright_settings_tabs.py@@ -348,13 +348,20 @@ def run_lan_address_actions(page) -> None:if address.count() != 1:fail(f"LAN address {url}: expected one visible row, found {address.count()}")continue+ # The row is the widest ancestor that still names only this address, not the text's+ # parent: the copy button now sits inside the URL pill and the QR button beside it.labels = address.evaluate(- """(node) => [...node.parentElement.querySelectorAll('button')]- .map((button) => button.getAttribute('aria-label'))"""+ """(node, urls) => {+ const names = (el) => urls.filter((u) => el.textContent.includes(u)).length;+ let row = node.parentElement;+ while (row.parentElement && names(row.parentElement) === 1) row = row.parentElement;+ return [...row.querySelectorAll('button')].map((b) => b.getAttribute('aria-label'));+ }""",+ LAN_URLS,)rows[url] = labelsexpected = [f"Show QR code for {url}", f"Copy {url}"]- if labels != expected:+ if sorted(labels) != sorted(expected):fail(f"LAN address {url}: row actions {labels}, expected {expected}")if len(rows) != len(LAN_URLS):