Polish live workspace export layout
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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_live_workspace_smoke_artifacts_are_documented() -> None:
|
||||
execution_log = (ROOT / "docs" / "CODEX_EXECUTION_LOG.md").read_text(encoding="utf-8")
|
||||
|
||||
assert "Sprint 66 Live workspace smoke polish" in execution_log
|
||||
assert "desktop and mobile screenshots" in execution_log
|
||||
assert "no console warnings/errors" in execution_log
|
||||
Reference in New Issue
Block a user