Skip to content

Stages preferences browser test changes the View selector with a key macOS Chromium ignores #1395

Closed

Description

@JacobStephens2

This was generated by AI during triage.

The Console browser test Stages handles invalid or unavailable preferences and preserves selector focus on a live update fails on every macOS run and passes on CI (Linux).

It changes the Stages View selector from the keyboard: focus the <select>, press ArrowDown, press Enter. In headless Chromium on macOS, ArrowDown on a closed <select> does not change its value (checked in triage on a minimal page: the value stays on the first option after ArrowDown and after Enter). On Linux the value changes. So on a Mac the view never switches to By repository, and the test times out waiting for two grids.

Agent Brief

Category: bug
Summary: Make the Stages preferences browser test change the View selector in a way that works on macOS and Linux.

Current behavior:
The test relies on ArrowDown changing a closed <select>, which is Linux-only behavior in Chromium. npm test in console/ always fails this test on macOS.

Desired behavior:
The test switches the View to By repository on both platforms and still proves what it is for: invalid, unavailable or unwritable preference storage raises no page errors, and the focused selector keeps focus and its value through a live update.

Acceptance criteria:

  • The test passes on macOS and on Linux CI.
  • It still asserts focus stays on the View selector, and its value stays By repository, across a live update, for each of the three storage cases.
  • No other test changes behavior.

Out of scope:

  • Changing the Stages page's View control or its keyboard handling.
  • Other Console browser tests.

Activity

  1. added
    bug
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Oct 26, 2026
  2. removed
    in-progress
    on Oct 26, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions