Repository navigation
fix: show the regression test's run as a terminal session in review-a-fix - #6721
Conversation
…-fix `test_every_idiom_in_the_catalog_stands_in_a_corpus_source` has failed on main since #6715 moved the terminal-session idiom from the `reading` package into Leaf's own registry as `pre.lf-terminal`. The test covers that registry, and no example had ever held the idiom: #6542 added it to `reading`, which the test doesn't read. The fix-review example now shows the regression test's run before and after the fix as a terminal session, so the page carries the evidence its coverage paragraph claims and the idiom has a corpus source. Refs #6719 Co-authored-by: leaf-agent <[email protected]>
|
@leaf-agent The terminal transcript in
|
The transcript named tests/browser/test_comment_images.py, which has never existed. It now shows output captured from #2882's own regression test, test_a_draft_s_image_closes_back_to_the_draft, run at that fix's commit (4e74362) with its runtime files set back to their parent's (2 failed, focus assertion) and then restored (2 passed). The coverage sentence now claims only what that run shows: the test fails in both editors without the fix.
|
Replaced in 40cdb57. The test the recordings stand for is #2882's
The failure lines are verbatim, and |
The pre-commit oxfmt hook failed on the example's <pre class="lf-terminal"> line; oxfmt moves the attribute onto its own lines and leaves the transcript's content unchanged.
test_every_idiom_in_the_catalog_stands_in_a_corpus_sourcehas failed on main since #6715. That change moved the terminal-session idiom from thereadingpackage into Leaf's own registry aspre.lf-terminal, and the test checks every idiom in that registry. No example had ever held the idiom: #6542 added it toreading, which this test doesn't read. The fix-review example (examples/review-a-fix.html) says its regression test "fails on each without the fix" but showed no run. It now shows that run as a terminal session: output captured from the fix's own regression test,test_a_draft_s_image_closes_back_to_the_draft, run at #2882's commit with its runtime files set back to their parent's (2 failed) and then restored (2 passed). So the page carries the evidence for its claim and the idiom has a corpus source.The test fails on
b54a16fc4withno example holds pre.lf-terminaland passes on this branch.leaf page checkon the example's page directory reports no findings. The render check couldn't launch Chrome in the triage sandbox, so this PR's corpus render tests are the first browser draw of the new figure. The figure sits below the recordings, so it shouldn't change the page's first screen, but the site previews haven't been regenerated.The other failure in run 44982643983,
test_a_coarse_pointer_keeps_useful_status_without_keyboard_hints, was fixed by #6717, which merged after that run's commit.Refs #6719 — automated triage