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
Add a browser journey for the legacy section picker #4969
A browser journey should open the legacy section picker, choose a section, and check that the page changes.
What is getting in your way
The picker (#pages-dropdown with its #pages-dropdown-menu popover) renders only where the navigation has several top-level sections, which in practice means the assembler site with navigation-preview off. The isolated docs/ site never renders it. The only test is LegacySectionDropdown_OpensAMenuOfTheTopLevelSections in tests/Navigation.Tests/Rendering/TocTreeRenderingTests.cs, which checks the markup. It still passes if floating.ts never places the popover or if choosing a section fails to navigate.
Pull request #4968 moved this control onto a popover and raised the gap in review. The journey could not be written there, because no environment that runs that branch renders the picker. Prod and edge still serve the old markup.
What would you like instead
A Synthetics journey under tests/Elastic.Documentation.Journeys.Tests/journeys/navigation/synth/, next to main-paths.journey, that runs against an assembler site with navigation-preview off. It should:
click the chevron button (button[popovertarget='pages-dropdown-menu']) and check that aria-expanded is true and the section links are visible
press Escape and check that the links hide
open the menu again, click a section other than the current one, and wait for the new URL
Write it once the pull request is deployed to edge, so it can run with mise run journeys:synth edge before it is merged.
Anything else
Related: #3685 covers making the same control an accessible disclosure. The pull request addresses most of it.
Hi @reakaleek, I'd like to work on this. I'd add a browser journey that opens the legacy section picker (#pages-dropdown), chooses a section and checks that the page changes, run against a docset with several top-level sections. Okay if I pick it up?
Activity
rahulsjha commentedon Nov 21, 2026
Hi @reakaleek, I'd like to work on this. I'd add a browser journey that opens the legacy section picker (
#pages-dropdown), chooses a section and checks that the page changes, run against a docset with several top-level sections. Okay if I pick it up?