From 85c839bc19f20c59e13a441133ace001bc18227f Mon Sep 17 00:00:00 2001 From: "privilegedescalation-engineer[bot]" <269729446+privilegedescalation-engineer[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 17:20:38 +0000 Subject: [PATCH] fix(e2e): scope heading locators to main content area (#50) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Test User Co-authored-by: Paperclip