c07067492b
E2E asserts in a real headless Chromium: white_noise loads the noise asset, soundtrack loads the current scale's asset, and Visual=off fades video while audio keeps playing. Driving it out surfaced + fixed three client issues: - fadeVolume uses setInterval (rAF stalls when the tab is backgrounded) - start gesture drops srcless priming (a click grants Chrome autoplay document-wide; priming empty <audio> only hung the handler / polluted state) - applyAudio doesn't await play() (awaiting a srcless/buffering play can hang) pyproject: [e2e] optional dep (pytest-playwright). Full suite 288 passed, 2 skipped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
33 lines
839 B
TOML
33 lines
839 B
TOML
[project]
|
|
name = "human-experience-filter"
|
|
version = "0.1.0"
|
|
description = "Coordinate-tuned public-domain media installation"
|
|
requires-python = ">=3.11"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools]
|
|
packages = ["hef", "tools", "simulator", "player"]
|
|
|
|
[project.scripts]
|
|
hef-ingest = "tools.ingest_cli:main"
|
|
hef-review = "tools.review_cli:main"
|
|
|
|
[project.optional-dependencies]
|
|
sim = [
|
|
"fastapi>=0.110",
|
|
"uvicorn[standard]>=0.29",
|
|
"httpx>=0.27",
|
|
]
|
|
# Playwright E2E browser tests (audio spec §9). Install with the browser binary:
|
|
# pip install -e '.[e2e]' && python -m playwright install chromium
|
|
# The E2E suite skips cleanly when Playwright/Chromium is absent (headless box).
|
|
e2e = [
|
|
"pytest-playwright>=0.4",
|
|
]
|