Skip to content

22 obligation and answer browser tests: fixtures still answer in markup or post acts without answered after #7325 #7346

Done

Description

@leaf-agent

Twenty-two browser tests fail on every run since #7325 (1021cb9ce032), which lets a widget that asks say whether its question is answered (answered on each act and undo) and stops markup alone from answering. The tests still expect the earlier behavior: some count an answer the fixture's markup holds, and some post an act without answered, which admission now refuses. tests/browser runs only on pushes to main, so #7325's own PR CI never ran these tests.

Evidence. All 22 failed in run 45920651738 on 1021cb9ce032. Running them locally by node id, they fail on current main (cf8750930430) and pass at #7325's parent 849f305d2.

Deciding errors:

  • Obligation counts are one short, for example answered obligations read 0/3, not 1/3 and 1/5, not 2/5. The fixtures answer the question in markup, or rely on markup to answer it.
  • test_thread_replies.py::test_thread_body_initial_state_comes_from_source_before_upgrade[draft]: <lf-draft> declares `awaits`, so each act and undo of it says whether its question is answered; send `answered` (answered-missing)
  • test_render_application_boundary.py::test_admission_keeps_the_obligation_open_until_the_answer_is_in_the_log: answered obligations read 1/1, not 0/1. Under Let a widget say when its question is answered, so a press moves the deck on at once #7325 the press is meant to answer the question in its own task (root AGENTS.md, "Responsiveness"), so this test's premise is the behavior Let a widget say when its question is answered, so a press moves the deck on at once #7325 replaced.
  • test_on_panel.py::test_a_completed_obligation_stays_reachable_through_on_me[*]: {'unanswered': False} != {'unanswered': True}
  • Several tests time out after 120 s waiting for an answered count that never arrives.

The repair follows #7325's stated intent and should not restore markup answers. A fixture should answer through a user gesture, use awaits.retired where the version retires the question, or send answered where the test posts events directly. Where a test asserts the old wait for the log, rewrite or delete it to match the new rule. Check each against tests/AGENTS.md, "Failing tests".

The 22 failing tests
tests/browser/navigation/test_commenting.py::test_the_ring_holds_on_a_seat_the_agent_has_still_to_answer
tests/browser/navigation/test_key_surfaces.py::test_a_coarse_pointer_keeps_useful_status_without_keyboard_hints
tests/browser/navigation/test_obligation_walk.py::test_a_delayed_obligation_reveal_yields_to_programmatic_user_focus
tests/browser/navigation/test_obligation_walk.py::test_a_failed_obligation_reveal_does_not_register_an_arrival
tests/browser/navigation/test_obligation_walk.py::test_keys_answer_an_obligation_from_its_marks
tests/browser/navigation/test_on_panel.py::test_a_completed_obligation_stays_reachable_through_on_me[1200]
tests/browser/navigation/test_on_panel.py::test_a_completed_obligation_stays_reachable_through_on_me[390]
tests/browser/projection/test_current_location.py::test_escape_lets_go_of_the_obligation_the_users_current_location_names
tests/browser/projection/test_current_location.py::test_the_obligation_walk_follows_registry_declarations
tests/browser/projection/test_current_location.py::test_the_obligation_walk_keeps_its_place_when_a_version_lands
tests/browser/projection/test_current_location.py::test_the_ring_says_where_the_user_is_located
tests/browser/projection/test_thread_replies.py::test_thread_body_initial_state_comes_from_source_before_upgrade[draft]
tests/browser/test_render_application_boundary.py::test_admission_keeps_the_obligation_open_until_the_answer_is_in_the_log
tests/browser/widgets/test_obligations.py::test_a_key_walks_the_page_s_open_obligations
tests/browser/widgets/test_obligations.py::test_the_obligation_itself_binds_each_contributed_action
tests/browser/widgets/test_obligations.py::test_the_obligation_reading_counts_completed_obligations_against_the_active_total
tests/browser/widgets/test_obligations.py::test_the_obligation_walk_starts_from_where_the_user_is
tests/browser/widgets/test_on_panel.py::test_a_decision_answered_on_the_page_keeps_the_answer_it_carries_listed
tests/browser/widgets/test_on_panel.py::test_obligation_cards_keep_identity_and_walk_order_when_the_live_dom_moves
tests/browser/widgets/test_on_panel.py::test_on_me_lists_open_and_answered_obligations
tests/browser/widgets/test_playgrounds.py::test_a_choice_made_while_the_settings_hold_a_retired_field_reads_as_chosen
tests/browser/widgets/test_tabs.py::test_side_tabs_distinguish_withdrawn_obligations_from_answers

Cause of a failure tracked in #7342.

Activity

  1. added
    tend-ci-cause
    on Nov 27, 2026
  2. leaf-agent commented on Nov 27, 2026

    @leaf-agent
    CollaboratorAuthor

    #7350 repairs all 22 tests and changes no product code. All 22 fail on 983d688fe and pass on the branch.

    The fixtures that answered in markup now log the user's pick. OBLIGATIONS_PAGE gets its pick from a serve_obligations helper, and every caller uses it. The events the tests post send answered where the widget asks. The three tests that asserted the old wait for the server's reading now assert what #7325 intends: the press answers the question while its event is still held. That PR's CI and landing are now with the review and tend-land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions