Repository navigation
test: match the nested-obligation test's selected replace to the labelled option tag - #6328
Conversation
leaf-agent
left a comment
There was a problem hiding this comment.
#6325 merged after this branch was cut, and it did touch these fixtures. It put <strong>Signed tokens</strong> back inside #opt-b in INLINE_PAGE, and <strong>Heated perch</strong> back inside #card-heater in BOARD_PAGE. On current main, #opt-b strong resolves again and test_board_moves_preserve_live_sample_and_control_state finds its insertion point again. So the edits to test_render_commands.py and test_render_widgets.py are no longer needed. The tree-walker edit also adds code the original selector didn't need.
The nested-obligation fix is still needed: on main, <lf-option id="out-drill"> still doesn't match <lf-option id="out-drill" label="The revocation drill">. I'll rebase onto main, keep only that edit, and update the title and body.
…lled option tag The nested-obligation test added selected by replacing <lf-option id="out-drill">, but #6289 gave that option a label, so the replace no longer matched. It now matches the opening of the tag.
1f588b9 to
56218db
Compare
#6289 gave
<lf-option id="out-drill">inNESTED_OBLIGATION_PAGEalabel, sotest_a_nested_obligations_pick_is_not_part_of_its_outers_recordstopped matching it when it replaced the exact tag<lf-option id="out-drill">. Nothing was markedselected, the outer question showed as overridden, and the test failed on main in push run 44182772749. The replace now matches the tag's opening, so the test checks its original behavior again. Only the test changes. It fails on current main and passes on this branch when run by node id.The same run had two other failures with the same cause:
test_the_gate_passes_a_page_that_carries_a_commentandtest_board_moves_preserve_live_sample_and_control_state. #6325 fixed those when it restored the<strong>titles in their fixtures, and both pass on current main.Three more failures in that run come from #6289 but need a decision rather than a test edit: work goals and atlas tasks were named by their leading
<strong>, and they take nolabel. They are filed separately.Refs #3985