Polish workbench UI layout
This commit is contained in:
@@ -18,6 +18,17 @@ def test_app_uses_quality_and_map_presentational_components() -> None:
|
||||
assert "<GeoMap" not in app
|
||||
|
||||
|
||||
def test_map_workspace_is_promoted_before_dense_workflow_grid() -> None:
|
||||
app = (ROOT / "frontend" / "src" / "App.tsx").read_text(encoding="utf-8")
|
||||
styles = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert app.index("<MapWorkspace") < app.index('<main className="workspace-grid">')
|
||||
assert "grid-template-columns: repeat(12, minmax(0, 1fr));" in styles
|
||||
assert ".workspace-grid > section" in styles
|
||||
assert "max-height: 42rem;" in styles
|
||||
assert "overflow: auto;" in styles
|
||||
|
||||
|
||||
def test_quality_results_panel_owns_persisted_quality_check_markup() -> None:
|
||||
quality_panel = (
|
||||
ROOT / "frontend" / "src" / "components" / "quality" / "QualityResultsPanel.tsx"
|
||||
|
||||
Reference in New Issue
Block a user