Document the TouchHub setup runbook

This commit is contained in:
2026-09-20 19:44:30 -04:00
parent 43ad44ee48
commit 7b5ea2b29e
2 changed files with 68 additions and 0 deletions
+10
View File
@@ -163,3 +163,13 @@ def test_frontend_and_www_have_no_cdn_font_references() -> None:
text = path.read_text(encoding="utf-8", errors="ignore")
for marker in CDN_MARKERS:
assert marker not in text, f"{path}: {marker}"
def test_readme_documents_the_touchhub_setup_runbook() -> None:
readme = " ".join(
(REPO_ROOT / "README.md").read_text(encoding="utf-8").split()
)
for required in ("use_x_frame_options", "TouchHub", "kiosk", "clickjacking"):
assert required in readme, required
assert "not in the NestQuest admin allowlist" in readme
assert "contains only the NestQuest panel card" in readme