diff --git a/tests/test_board.py b/tests/test_board.py index a4ecea9..e131566 100644 --- a/tests/test_board.py +++ b/tests/test_board.py @@ -184,8 +184,10 @@ def test_work_queue_prompts_reference_the_documented_workflow(tmp_path): def test_paper_links_and_issue_actions(tmp_path): html = board.render(_snap_with_remote(tmp_path), "html") - # the header links the markdown twin and the repository front door - assert 'markdown version' in html + # Shared section_layout renders the Markdown source as an accessible icon. + markdown_link = re.search(r']*href="dashboard.md"[^>]*>', html) + assert markdown_link is not None + assert 'aria-label="Markdown version"' in markdown_link.group(0) assert ('GitHub Page') in html # ref'd paper → its abstract page; bare title → an arXiv title search