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
This commit is contained in:
pulse-triage[bot]
2026-10-04 06:18:40 +01:00
parent 74c3522700
commit 383be3053e
@@ -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;