Repository navigation
test: update ten nightly journeys to the behavior #5448, #5508, #5537, #5551, #5552 and #5566 chose - #5685
Merged
Conversation
…vises against #5566 added the words-off-column advice for a wrapper granted room whose words leave the column's start edge. FRAMED_TABLES_PAGE's available figure holds a question, whose heading and options start at the figure's edge, so the advice fires on the journey's page, as #5566 meant it to. The journey reads the theme's tables, so it now leaves that question out; the browser test that measures the question's table inside the figure keeps it. Refs #5658
…5537 chose #5537 made a margin card beside its passage hold its reply's foot while a text field in it has focus, so the line being typed stays still and the card grows up. Two journeys still read the top-held rule it replaced: - test_margin_card_holds_its_top_as_a_turn_arrives_and_as_a_reply_wraps opened the card by a click, which since #5410 leaves the caret in the reply, then expected a turn to extend the card downward, each wrap of the reply to push Send down, and an answer after a send to keep the card's top. It now stands the user on the thread with Escape before the first reading, as #5537's browser tests do, and reads the reply's foot holding while it is written in: each wrap and the answer after a send grow the card up, and a long draft fills it from the window's head to the reply's foot. It is renamed for what it now checks. - test_native_reply_edits_after_semantic_paint_keep_the_first_line's margin case expected the reply's top to hold as Backspace shortened the draft; it now reads the reply's foot holding there. Refs #5658
…5552 reads #5552 made progressFace read a workflow's at_work, which the server stamps on every served workflow (served_state/work.py), instead of its stage. The feature gallery's margin-entry atlas builds its sample workflows itself from a stage alone, so its Working and Working · fallback samples lost the working face, and test_the_feature_gallery_exercises_its_core_journeys timed out waiting for data-lf-agent-workflow=working. The sample now carries at_work as the server would stamp it. Refs #5658
…ow it #5551 cut a cover's box from the cover to the window edge it stands nearer, so a thread's reply box under the floating panel now counts unseen, and the keep holds the thread the user stands on rather than that reply box. A message clicked in the thread then stays where it was as the answer joins below it, where it used to scroll 195px up, so the strict xfail on message-reply-below passed in both engines. Its entries leave MOVES_ON_MAIN. Refs #5658
This was referenced Nov 7, 2026
Closed
Collaborator
Author
|
Merged at The cases this PR claims passed at this head. In the PR's run: the receipt, table-gate, margin-card, key-surfaces and |
leaf-agent
added a commit
that referenced
this pull request
Nov 8, 2026
…the thread being typed in (#5692) Three nightly journey cases have failed since #5392 because each still expected the old hold of news in the thread the user is typing in. #5392 deliberately draws that news at once, as a chat does: the control the user is on stays still while what stands above it scrolls up by the growth, and on a page too short to scroll that far the control moves by the rest (`browser/AGENTS.md`, "News moves what the reader reads only in the thread they are in"). This PR changes only the tests. Each case failed on main before the change and passes after it, run locally with the journey tier. - **`test_live_news_keeps_the_reading_draft_and_resting_target`**, renamed `test_live_news_keeps_the_reading_draft_in_the_thread_being_written_in`. It expected the working indicator and a tall reply to wait behind "1 new", and the pointer resting on Resolve to stay over it. On main the working indicator draws, so `.lf-thread-working` never reached a count of 0. Now the test expects the working state and the reply to draw at once. It checks that the editor, its words and selection, and the reading line stay where they were through the working state, the reply and a source revision, and that Resolve, which sits above the editor, scrolls up by more than 100px. The pointer assertion and the notice press are removed, because the rule now holds the editor still and not what stands above it. - **`test_native_reply_edits_after_semantic_paint_keep_the_first_line[seat-delete-desktop]`** and **`[seat-mirrored-composing-android]`**. The agent's reply now draws above the seated box. On the short seat page the page can't scroll, so the box moves down by 69–72px, and the shift watch reported that move at teardown. The seat page now has room below, so the page scrolls by the reply and the box stays still, which is what the test's later native edits assume. All eight parametrized cases pass. The fourth case the issue names, `[margin-delete-desktop]`, had a separate cause and was already fixed by #5685. Closes #5683 — automated triage Co-authored-by: leaf-agent <[email protected]>
leaf-agent
added a commit
that referenced
this pull request
Nov 8, 2026
…it grows (#5693) Since #5551, a reply box under the floating panel counts as unseen. When the user clicked a message's words, the keep therefore fell back from the thread's reply box to the thread's top, and a message above the clicked one that grew by 63px pushed the clicked message down by 63px. Now the keep first holds the caret that the click left in the focused container, as long as the caret lies outside the box the container stands at (`standsAt`) and the container isn't a text field. So the clicked message stays put when a message above it grows or an answer joins below it, and the reply box moves instead. This matches the rule `thread/reply-landing.js` already states ("a message they stand on stays and the box below it moves down"). A thread focused with its caret in the reply box, or with no caret in it, keeps the reply box's hold as before, so a send still holds the emptied box. #5551's rule that a box under the panel counts as unseen still holds. This change gives the keep a better place than the thread's top when that rule applies. Verification: - `test_page_holds_still.py::…[message-edit-above-chromium]` and `[message-edit-above-firefox]` fail on main `0534adc7d` with `the place moved 63.0px`. Both pass with this change. - The whole of `tests/journeys/test_page_holds_still.py --run-nightly` passes: 94 passed, and its 14 strict xfails still fail as recorded. That includes the `message-reply-below` cases, which #5685 had just un-xfailed. - `pnpm run test:runtime` (896 pass) and `pnpm run check:browser` pass. - One failure came up in the held-news browser tests I ran, `test_summaries.py::test_a_root_summary_keeps_thread_actions_outside_its_fold[1400-True-10]` (`labelLines` 3.0 > 1.1). It fails the same way on main without this change. One known gap: if the change rewrites the very words the caret sits in, the caret's range leaves with them, so this hold keeps nothing and the browser's scroll anchoring takes over. Closes #5687 — automated triage Co-authored-by: leaf-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ten of #5658's nightly journey cases still expected behavior that a recent change replaced on purpose. This PR updates those tests to what each change intended. One example page also changes: the feature gallery had lost a face that the server would draw. Each case was bisected locally to the first commit where it fails and checked against that commit's parent, which passes. Each fails on main
02a1e05cband passes on this branch.test_render_widgets.py::test_notification_configuration_becomes_a_commentable_local_artifactformat-banner), not onnotification-simulator.test_render_gate.py::test_every_table_the_theme_sets_honestly_passes_the_gate<figure>holds a question whose words start at the figure's edge, and #5566's newwords-off-columnadvice flags exactly that. The journey checks tables, so it now leaves that question out. The browser test that measures the question's table inside the figure keeps it.test_render_margin.py::test_margin_card_holds_its_top_as_a_turn_arrives_and_as_a_reply_wraps…holds_its_top_while_read_and_its_reply_while_written.test_thread_response_continuity.py::…keep_the_first_line[margin-delete-desktop]navigation/test_key_surfaces.py::test_user_news_interrupts_and_then_restores_background_newsAgent replied — open Threads · Comment… c.test_page_holds_still.py::…[message-reply-below-chromium],[…-firefox]MOVES_ON_MAIN.test_render_navigation.py::test_the_feature_gallery_exercises_its_core_journeysprogressFacereads a workflow'sat_work, which the server stamps on every served workflow. The gallery's margin atlas builds its sample workflows from a stage alone, so its Working samples had lost the working face. The sample now carriesat_workas the server would stamp it (examples/developer/feature-gallery.page/widgets/lf-margin-entry-gallery.js).The other #5658 cases are handled elsewhere. #5684 (merged) fixed the fixture-resource case. A separate PR widens
--widefor #5611's diff gutter. Themessage-edit-abovecases oftest_page_holds_still.pycome from a runtime regression in #5551, which has its own cause issue.Refs #5658 — automated triage