fix(ui): structure growth automation evidence
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-14 21:28:48 +08:00
parent df9333546c
commit 4c0472ab2e
3 changed files with 230 additions and 1 deletions

View File

@@ -317,6 +317,7 @@ def test_dashboard_exposes_count_and_revenue_coverage_without_a_text_wall():
from pathlib import Path
template = Path("templates/dashboard_v2.html").read_text(encoding="utf-8")
css = Path("web/static/css/page-dashboard-v2.css").read_text(encoding="utf-8")
assert "業績比價覆蓋" in template
assert "growth.comparison_revenue_coverage_rate | default(0)" in template
@@ -324,6 +325,11 @@ def test_dashboard_exposes_count_and_revenue_coverage_without_a_text_wall():
assert "growth.comparison_ready_sales_7d" in template
assert "growth.comparison_total_sales_7d" in template
assert "growth.mapped_count" in template
assert ".growth-mapping-backlog {" in css
assert ".growth-mapping-backlog-grid {" in css
assert ".growth-automation-panel {" in css
assert ".growth-automation-steps {" in css
assert ".growth-automation-step {" in css
def test_same_item_reconciliation_route_returns_durable_readback(monkeypatch):