React + Vite + Tailwind starter with the no-AI shell, band legend, review split pane with drafts and verify, and a server stub that refuses approval while flagged fields are unverified. Band self-check and AI page check. Both page checks share one Chromium via tests/conftest.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
347 B
Python
13 lines
347 B
Python
"""Shared by both page checks: one headless Chromium for the whole run
|
|
(Playwright's sync API allows only one instance per process)."""
|
|
import pytest
|
|
from playwright.sync_api import sync_playwright
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def browser():
|
|
with sync_playwright() as p:
|
|
b = p.chromium.launch()
|
|
yield b
|
|
b.close()
|