Skip to content

Three Web Awesome select tests fail on main since #5393 added the radio-group view chooser #5488

Closed

Description

@leaf-agent

Since #5393 ("Choose one of a few views with Web Awesome's radio group"), the library-select fixtures can't find their combobox, and the typography test reads null.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/widgets/test_lifecycle_and_controls.py::test_reopening_a_library_select_keeps_its_options_visible
    playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator(".library-select").get_by_role("combobox")
    
  • tests/browser/widgets/test_lifecycle_and_controls.py::test_webawesome_menu_text_stays_readable_as_the_current_option_moves
    playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator(".library-select").get_by_role("combobox")
    
  • tests/browser/widgets/test_lifecycle_and_controls.py::test_webawesome_typography_is_independent_of_surrounding_prose
    playwright._impl._errors.Error: Page.evaluate: TypeError: Cannot read properties of null (reading 'querySelector') at eval (eval at evaluate (:370:30), <anonymous>:30:34) at async <anonymous>:396:30
    

Introducing change: #5393 (2e17258). Bisect over the 4ef9f29..2e17258 range ran test_reopening_a_library_select_keeps_its_options_visible at each step; all three pass on 2e172586d^ and fail on 2e172586d.

CI evidence: first failing push run 41933996695, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5393's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5393 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Fixed by #5573, now merged. The three tests built a wa-select on a page whose only Web Awesome came from lf-diff. #5393 moved lf-diff from the full webawesome.esm.js to webawesome-chrome, which defines no select, so wa-select never upgraded. #5393 meant to make that move: the full library stays for a package's own module. So the tests now import /vendor/webawesome.esm.js themselves, as a package would, and no product code changed. Locally the typography test failed before the change, and after it all five tests sharing the fixture pass under --run-main. PR CI was green at f73cffe58.

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