Polish populated workbench states
This commit is contained in:
@@ -18,6 +18,15 @@ def test_dataset_panel_exposes_map_and_export_quick_actions() -> None:
|
||||
assert "disabled={!(dataset.dataset_type === 'vector' || dataset.dataset_type === 'geojson')}" in panel
|
||||
|
||||
|
||||
def test_data_workspace_keeps_catalog_wide_enough_for_populated_state() -> None:
|
||||
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert ".workspace-grid-data {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}" in css
|
||||
assert ".workspace-grid-data > section:nth-child(3)" in css
|
||||
assert "grid-column: 1 / -1" in css
|
||||
assert ".dataset-card .button-row" in css
|
||||
|
||||
|
||||
def test_app_wires_dataset_quick_actions_to_existing_workspaces() -> None:
|
||||
app = (ROOT / "frontend" / "src" / "App.tsx").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user