"""mgf-uitest-web — browser-level UI testing for the Magogi web consoles.

Every Magogi web console (ProofWarden, fed-web, cloud-web) is a FastAPI + Jinja
server-rendered app that, until now, was only tested through an in-process
``TestClient`` — which renders no CSS, runs no JavaScript, and never opens a
browser. This package closes that gap: it drives each console in a real Chromium
via Playwright and asserts the pillars a ``TestClient`` cannot see.

Public surface (what the consoles import):
    live_server, LiveServer, free_port, ServerStartError, UITestWebError  — run a console as a black box
    audit_layout, LayoutReport                            — layout-integrity geometry checks
    scan_a11y                                             — accessibility (axe-core)
    watch_health, HealthWatch                             — console/network runtime health
    capture                                               — screenshot capture

This is the web half of the ``mgf-uitest`` family; a future ``mgf-uitest-qt``
sibling will carry the same pillar vocabulary to the PySide desktop apps.
"""

from __future__ import annotations

from .checks import (
    HealthWatch,
    LayoutReport,
    audit_layout,
    capture,
    describe_a11y,
    scan_a11y,
    watch_health,
)
from .console import Console, ConsoleLaunch, Viewport
from .server import LiveServer, ServerStartError, UITestWebError, free_port, live_server

__version__ = "0.1.1"

__all__ = [
    "Console",
    "ConsoleLaunch",
    "HealthWatch",
    "LayoutReport",
    "LiveServer",
    "ServerStartError",
    "UITestWebError",
    "Viewport",
    "audit_layout",
    "capture",
    "describe_a11y",
    "free_port",
    "live_server",
    "scan_a11y",
    "watch_health",
]
