test_flows_past_the_cap_open_in_a_details¶
Tests › tests/test_wiki_viewer.py
What this test is for
Why it exists
V5: 7 flows on a changed function's row — 5 shown, 2 behind "2 more", all linked.
Given
pages = [SimpleNamespace(name=f"flow-{i}", title=f"Flow {i}", role="product") for i in range(7)]
When
html = _flow_cell(pages)all(f'href="flow-{i}.html"' in html for i in range(7))
Then
- ✓ html contains "<summary>2 more</summary>"
- ✓ all(f'href="flow-{i}.html"' in html for i in range(7)) holds
tests/test_wiki_viewer.py:36 · its file's page
What it checks (2)
assert "<summary>2 more</summary>" in htmlobserves_flow_cellviahtmlassert all(f'href="flow-{i}.html"' in html for i in range(7))observesall
Where the product reaches it
dossier→_rank_enum_over_mirror→_class_side_is_only_enum_mirrors→all(flow)
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-029 measured
- REQ-DDB-WIKI-054 inferred