From 383be3053eb91f6d26ac11bee49d898b78ae18ea Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Sun, 4 Oct 2026 06:18:40 +0100 Subject: [PATCH] Correct the token-help browser scope count The real scope table contains the 15 selectable UI scopes plus the wildcard row. Count all 16 entries rather than rejecting the correctly rendered reference. The corrected Chromium and phone-emulated WebKit run passes with all six screenshots inspected; shipped documentation and suite-covered source are unchanged. Contract-Neutral: Browser-test assertion only; no runtime or user-facing contract delta. Change-source: pulse-maintainer --- frontend-modern/browser-tests/token-guidance.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-modern/browser-tests/token-guidance.cjs b/frontend-modern/browser-tests/token-guidance.cjs index 111eac5ed3..e51b9b5da6 100644 --- a/frontend-modern/browser-tests/token-guidance.cjs +++ b/frontend-modern/browser-tests/token-guidance.cjs @@ -53,7 +53,7 @@ const { chromium, webkit } = require('playwright'); assert.equal(await presetTable.getByRole('row').count(), 8); const scopesTable = page.getByRole('table').filter({ has: page.getByRole('columnheader', { name: 'Scope', exact: true }) }); - assert.equal(await scopesTable.getByRole('row').count(), 16); + assert.equal(await scopesTable.getByRole('row').count(), 17); for (const table of [presetTable, scopesTable]) { assert.ok(await table.evaluate((element) => { const parent = element.parentElement; @@ -97,7 +97,7 @@ const { chromium, webkit } = require('playwright'); assert.deepEqual(errors, []); results.push({ engine, version: browser.version(), width, tokenAnchorFocus: true, leastPrivilegeAgentRow: true, actualPresetCount: 7, - scopeCount: 15, semanticContainedTables: true, noDocumentOverflow: true, + scopeCount: 16, semanticContainedTables: true, noDocumentOverflow: true, kioskCredentialWarning: true, keyboardApiHelp: true, keyboardAgentRetargeting: true, errors }); await browser.close(); browser = undefined;