22 lines
860 B
Python
22 lines
860 B
Python
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parents[2]
|
|
|
|
|
|
def test_export_handoff_cards_use_width_aware_grid() -> None:
|
|
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
|
|
|
assert ".handoff-action-grid" in css
|
|
assert "repeat(auto-fit, minmax(11rem, 1fr))" in css
|
|
assert ".export-center .handoff-readiness-grid" in css
|
|
assert "repeat(auto-fit, minmax(7.5rem, 1fr))" in css
|
|
|
|
|
|
def test_public_readme_documents_desktop_and_mobile_workspace() -> None:
|
|
for path in (ROOT / "README.md", ROOT / "public-source" / "README.md"):
|
|
readme = path.read_text(encoding="utf-8")
|
|
assert "geointel-workbench-map.png" in readme
|
|
assert "geointel-workbench-quality.png" in readme
|
|
assert "geointel-workbench-mobile.png" in readme
|
|
assert "mobile workbench" in readme.lower()
|