You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stages preferences browser test changes the View selector with a key macOS Chromium ignores #1395
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.
Activity
Set the Stages View with selectOption so the preferences test runs on…