Skip to content

test_comment_follows_a_thread_current_location_instead_of_an_earlier_draft: t no longer reaches the thread since #6675 #6740

Closed

Description

@leaf-agent

test_comment_follows_a_thread_current_location_instead_of_an_earlier_draft fails in all three cases since #6675 (c9d5e98f1, "Walk to unsent comments with t"). It failed on Linux and macOS in full-tier ci run 44989336653 on fac415460, and it fails locally on current main (d53e9994f).

  • [-False] and [This thread already holds a reply.-False]: Locator expected to be focused at tests/journeys/drafts/test_comment_targets.py:78. .lf-margin-preview .lf-page-thread is never found after the t press.
  • [-True]: Page.wait_for_function: Timeout 120000ms exceeded at line 73, waiting for window.earlyResumeBoxes.

A git bisect run over c72a8ad03..fac415460 (yesterday's scheduled commit, where all three pass, to this run's) lands on c9d5e98f1, and its parent e4278a8bd passes.

Diagnosis so far. The test keeps a comment draft at #p3, then presses t and expects to arrive at the open thread. #6675 made t reach every draft Threads lists, including a comment the user began and put away, so t now probably stops at the #p3 draft first. If that reading holds, the test is out of date with an intended change: it needs a way to the thread that #6675 left alone, while still checking that the comment follows the thread's current location. I haven't yet confirmed which stop t lands on.

Cause of a failure tracked in #6738.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Confirmed the diagnosis: after the journey keeps its comment at #p3, t lands on that comment's box ("1 of 2 threads and drafts"), and only a second t reaches the thread. The test is out of date with #6675's intended change, not a product regression.

    #6746 switches the journey's two t presses to Shift+t, which walks back from the kept comment (the walk's first stop) and wraps to the thread in one trip, so the Resume-interrupts-the-trip scenario stays intact. All three cases fail on d53e9994f and pass on the branch locally; its CI and landing are with 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