diff --git a/tests/test_dashboard.py b/tests/test_dashboard.py index 41473430..762e3311 100644 --- a/tests/test_dashboard.py +++ b/tests/test_dashboard.py @@ -98,8 +98,10 @@ def test_html_is_self_contained(): assert "RED" in out # The header links the markdown twin and the repository front door. The # expected owner comes from the same declared config surface the renderer - # reads (the tenant firewall keeps org literals out of organ code). - assert 'markdown version' in out + # reads (the tenant firewall keeps org literals out of organ code). The + # shared Brain theme may restyle the markdown link (PyAutoBrain#499 renders + # it as an icon), so assert the href survives rather than the label text. + assert 'href="dashboard.md"' in out gh_owner = dashboard.REPO_OWNERS["PyAutoHeart"] assert (f'GitHub Page') in out