Repository navigation
Expect held resolution notices to say "1 new" with Resolved in the title - #5345
Merged
Merged
Conversation
…s title #5039 made every held-news notice say one count ("N new") and moved each fact, such as Resolved, into its title. Six tests that hold a remote resolution behind its notice still read the notice's text as "Resolved"; they now read the count as its text and the resolution as its title. No behavior changes. Closes #5128
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.
#5039 deliberately changed held-news notices to say one count ("N new") and moved each fact into the notice's title, so a remote resolution held behind an open thread now reads "1 new" with the title "Resolved". The user chose that on 31 October (recorded in the
newsNoticeheader inbrowser/runtime/thread/held-news.js). Six tests still read the notice's text as "Resolved" and failed on every run since. This PR updates them to read "1 new" as the text and "Resolved" as the title, the same pattern other held-news tests already use. It changes no behavior and keeps everything #5039 intended.Tests updated (all failing with
Actual value: 1 newin scheduled run 41432142330 or push run 41576718956):tests/browser/test_render_reactions.py::test_a_remote_resolve_disarms_the_open_reply_list_it_takes_awaytests/browser/threads/test_seated_threads.py::test_a_resolution_from_elsewhere_moves_nothing_after_a_diff_threadtests/browser/threads/test_seated_threads.py::test_a_thread_resolved_while_its_reply_is_written_keeps_the_user_on_ittests/browser/test_render_pages.py::test_a_failed_resolution_restores_a_focused_inline_replytests/browser/test_render_pages.py::test_failed_resolve_candidate_restores_focused_replytests/journeys/test_website_server.py::test_a_website_turn_posts_its_answer_when_the_move_is_settled_first(both parameters)Verification: on main, the first two fail locally with the reported assertions. With this change, all 11 parametrized cases of the six tests pass locally (
uv run pytest -n2 --run-main --run-nightly …).Closes #5128 — automated triage