mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
test(dashboard): fix playwright importorskip placement
Move importorskip after playwright import so module-level import error triggers skip rather than collection error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cc7ad822f4
commit
c15f9836b6
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import pytest
|
||||
from playwright.sync_api import sync_playwright
|
||||
|
||||
pytest.importorskip("playwright", reason="Playwright not installed — dashboard E2E tests skipped")
|
||||
pytest.importorskip("playwright")
|
||||
from playwright.sync_api import sync_playwright
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue