[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-26 02:23:44 +00:00
commit b9b2a28e9c

View file

@ -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)