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,33 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_export_preview_readability_css_contracts() -> None:
|
||||
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert ".export-preview-summary" in css
|
||||
assert ".export-preview-summary-card" in css
|
||||
assert ".export-preview-json-shell" in css
|
||||
assert ".export-preview-json-toolbar" in css
|
||||
assert ".export-preview-json-body" in css
|
||||
assert ".export-preview-json-body .job-result" in css
|
||||
assert "max-height: 32rem;" in css
|
||||
assert "overflow-wrap: anywhere;" in css
|
||||
assert "white-space: pre-wrap;" in css
|
||||
|
||||
|
||||
def test_export_preview_component_exposes_summary_and_scroll_shell() -> None:
|
||||
export_preview = (ROOT / "frontend" / "src" / "components" / "exports" / "ExportPreview.tsx").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
|
||||
assert "previewStats" in export_preview
|
||||
assert 'className="export-preview-summary"' in export_preview
|
||||
assert 'className="export-preview-summary-card"' in export_preview
|
||||
assert 'className="export-preview-json-shell"' in export_preview
|
||||
assert 'className="export-preview-json-toolbar"' in export_preview
|
||||
assert 'className="export-preview-json-body"' in export_preview
|
||||
assert "Velden" in export_preview
|
||||
assert "Grootte" in export_preview
|
||||
Reference in New Issue
Block a user