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,40 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_export_and_system_mobile_density_css_contracts() -> None:
|
||||
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert ".system-provider-list" in css
|
||||
assert ".system-provider-card" in css
|
||||
assert ".system-provider-grid" in css
|
||||
assert ".system-provider-card div" in css
|
||||
assert ".provider-layer-list" in css
|
||||
assert ".provider-layer-chip" in css
|
||||
assert ".export-action-grid" in css
|
||||
assert ".handoff-action-card p" in css
|
||||
assert ".export-history-controls input" in css
|
||||
assert ".export-history-controls select" in css
|
||||
assert ".export-card-header" in css
|
||||
assert "minmax(7.5rem, 1fr)" in css
|
||||
assert "overflow-wrap: anywhere;" in css
|
||||
|
||||
|
||||
def test_export_and_provider_components_keep_workflow_markup() -> None:
|
||||
export_center = read_feature("exports")
|
||||
provider_panel = (ROOT / "frontend" / "src" / "components" / "providers" / "ProviderPanel.tsx").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
|
||||
assert 'className="export-center"' in export_center
|
||||
assert "export-action-grid" in export_center
|
||||
assert "handoff-action-card" in export_center
|
||||
assert "export-history-controls" in export_center
|
||||
assert "export-card-header" in export_center
|
||||
assert "system-provider-list" in provider_panel
|
||||
assert "system-provider-card" in provider_panel
|
||||
assert "system-provider-grid" in provider_panel
|
||||
assert "provider-layer-chip" in provider_panel
|
||||
Reference in New Issue
Block a user