Initial public release
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
This commit is contained in:
@@ -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