fix(e2e): scope heading locators to main content area #50

Merged
privilegedescalation-engineer[bot] merged 1 commits from fix/heading-selectors into main 2026-05-04 17:20:38 +00:00

1 Commits

Author SHA1 Message Date
Test User b8b3ec5d64 fix(e2e): scope heading locators to main content area
Replace bare getByRole("heading", { name: /Intel GPU — .../i }) calls
with page.locator('main').getByRole('heading', { name: '...' }) so that
each locator matches exactly one element and Playwright strict mode is
satisfied.

The main element is the appropriate scoping container for plugin page
content. Exact name matching (without regex) is used to be precise about
which heading is being targeted.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-21 21:11:00 +00:00