Publish curated GeoIntel source snapshot
This commit is contained in:
commit
0aae654d6e
764 files changed
+169154
No files matched your search
@@ -0,0 +1,39 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_overview_uses_named_hierarchy_regions() -> None:
|
||||
app = read_feature("shell")
|
||||
|
||||
assert 'className="overview-action-copy"' in app
|
||||
assert 'className="quick-action-grid overview-quick-actions"' in app
|
||||
assert 'className="quick-action-button"' in app
|
||||
assert 'aria-label="Aanbevolen acties"' in app
|
||||
|
||||
|
||||
def test_status_strip_has_compact_section_surface_contracts() -> None:
|
||||
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert ".workbench-status-strip" in css
|
||||
assert "background: linear-gradient(180deg, var(--gi-surface), var(--gi-brand-50));" in css
|
||||
assert ".status-strip-grid" in css
|
||||
assert "grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));" in css
|
||||
assert ".status-tile-topline" in css
|
||||
assert ".status-tile strong" in css
|
||||
assert "min-height: 5.85rem;" in css
|
||||
|
||||
|
||||
def test_overview_action_callout_is_visually_secondary() -> None:
|
||||
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert ".overview-action-copy" in css
|
||||
assert ".overview-quick-actions" in css
|
||||
assert ".quick-action-button" in css
|
||||
assert "background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), color-mix(in srgb, var(--gi-surface) 82%, transparent));" in css
|
||||
assert "border-left: 4px solid var(--accent);" in css
|
||||
assert "align-content: center;" in css
|
||||
Reference in new issue
Block a user