Skip to content

test: update four nightly tests to what #6612, #6654, #6641 and #6640 changed - #6660

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-6659
Nov 21, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-6659

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Four of the failures in scheduled ci run 44896279165 on c72a8ad03 are tests that weren't updated when a recent change moved what they read. None of them catches a defect a user would see, so each fix updates the test and keeps what it asserts. Each test failed locally on c72a8ad03 and passes with this change.

  • test_the_page_holds_still_under_the_user[dial-*] (8 cases, Linux and macOS). Show each depth's size on the Skim control: minutes under each depth, its pages hanging under the buttons #6612 put each depth's reading time under its word, so the dial's radios are now named Skim 2 min and so on. turn() was still waiting for a radio named exactly Skim and timed out after 120 s. It now matches ^Skim \d+ min$, the same pattern tests/browser/widgets/test_dial.py uses. The six cases now pass, and the two dial-grown-after-glide cases fail as their MOVES_ON_MAIN entry expects.
  • test_a_link_s_preview_shows_only_what_the_page_draws[browser] (teardown error, Linux and macOS). Hang a code line's wrapped rows from its indent behind a muted ↪ #6654 wraps each line of a reading-face <pre> in a <span data-lf-pre-line>. That means #code > span now selects the first line's wrapper rather than the hidden span. The COPY CONTROL words the test inserts after it became an extra line, which pushed the rows below down 20 px with no input, and the shift watch reported that. The test now inserts the words after #code span[style], the hidden span it meant, so they stay on the first line.
  • test_every_restore_case_a_user_can_return_to_is_arrived_in (Linux and macOS). Declare once per code whether a finding refuses, and name what each refusal keeps #6641 adds (fails the check so that …) to each finding. The test split the returned holding a,b list on commas only, so the suffix stuck to the last key. Whenever storage listed the restore case's own key last, the parse dropped it. The order of keys in storage is what made this pass locally and fail on CI. The test now reads the list up to the first space.
  • test_arrangement_retains_linked_pages_per_phase (dev-tests). Let the author's markup stand: native video controls, link targets, field sizes, summary markers, open call-tree roots #6640 stopped Leaf writing target="_blank" over cross-origin links. The test's authored links now open in the same tab, so expect_popup timed out. The test now follows both links in place and checks the restored addresses and the kept decision as before.

Refs #6659 — automated triage. The report's other failures are owned elsewhere: the long-thread card width is #6139, the Firefox ResizeObserver loop is #6604, and the macOS-only failures are tracked in their own cause issue.

…changed

- test_page_holds_still's dial cases find each depth by "Skim N min", the
  name #6612 gave the dial's radios by putting minutes under each word.
- The link-preview journey writes its control words after the hidden span
  in #code, not after #code's first span, which #6654 made a line wrapper,
  so the injected words no longer add a line that moves the block's rows.
- The restore-case journey reads the held keys up to the first space, since
  #6641's " (fails the check so that ...)" suffix rode on the last key.
- The arrangement eval test follows its cross-origin links in the same tab,
  since #6640 stopped Leaf writing target="_blank" over an author's link.

No behavior a user sees changes; each test still checks what it did.

Refs #6659
@max-sixty
max-sixty merged commit f1d623b into main Nov 21, 2026
7 checks passed
@max-sixty
max-sixty deleted the fix/issue-6659 branch November 21, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants