3fca8133

By: Michael Lynch <git@mtlynch.io>

Use semantic landmarks in media browser tests

Replace browse and media e2e selectors with role-based locators scoped to the
page's main content landmark instead of CSS classes and container selectors.
This also removes the scroll-to-top helper from browse.spec.ts because pager
links can be clicked directly through Playwright's user-facing locators.

Add a main landmark to the base layout so the tests can target the primary
content consistently.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 33s 33s 35s
Build 3s 2m50s 59s 1m03s
Test - - - -
Deploy - - - -
Suite 0s 3m26s 1m03s 1m03s

Timeline

0s10s20s30s40s50s1m