diff --git a/tests/studio/playwright_chat_ui.py b/tests/studio/playwright_chat_ui.py index bf2ffcd840..a62f1322e8 100644 --- a/tests/studio/playwright_chat_ui.py +++ b/tests/studio/playwright_chat_ui.py @@ -1159,9 +1159,7 @@ with sync_playwright() as p: # Unpinned rows (Video, Recipes, Export by default) live in the sidebar's # "More" flyout. It opens on hover, so hover first; a click would toggle it # straight back shut. Click is the fallback for a no-hover environment. - more_btn = page.get_by_role( - "button", name = re.compile(r"^\s*More\s*$", re.I) - ).first + more_btn = page.get_by_role("button", name = re.compile(r"^\s*More\s*$", re.I)).first if more_btn.count() > 0: more_btn.hover() page.wait_for_timeout(500)