Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change color when hovering over code-formatted text #2007

Merged
merged 7 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup old test
  • Loading branch information
drammock committed Oct 7, 2024
commit 5508eed0f28d3c394b821fbb129fc505ded1a5e3
8 changes: 8 additions & 0 deletions tests/test_playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

import pytest

try:
from pathlib import UnsupportedOperation
except ImportError:
UnsupportedOperation = None

# Using importorskip to ensure these tests are only loaded if Playwright is installed.
playwright = pytest.importorskip("playwright")
from playwright.sync_api import Page, expect # noqa: E402
Expand Down Expand Up @@ -75,6 +80,9 @@ def test_breadcrumbs_everywhere(
page.goto(
urljoin(url_base, "playwright_tests/breadcrumbs/hansel/gretel/house.html")
)
except (NotImplementedError, UnsupportedOperation):
print("filesystem doesn't support symlinking")
else:
# sidebar should overflow
text = "In the oven with my sister, so hot right now. Soooo. Hotttt."
el = page.locator("#main-content").get_by_text(text).last
Expand Down