Point the anchoring gate at index.html too, so it can actually measure
Second gate caught by the strict server. check-fixed-anchoring loaded both hosts by bare-directory URL, which the old permissive local server resolved and the live layer does not, so it was green only because local was more forgiving than production. Worth noting how it failed: UNMEASURED for both hosts, not a false pass. It refuses to report success when it could not measure, which is the difference between this gate and one that would have found zero dropdowns and called that zero anchoring problems. Now passing with 16 triggers anchored across both hosts, Status among them -- so the eighth filter anchors correctly in the composite as well as standalone. A sweep of internal/ finds no remaining bare-directory leaf URLs.
This commit is contained in:
parent
0f0bebd9c2
commit
236d289cc7
1 changed files with 8 additions and 2 deletions
|
|
@ -99,9 +99,15 @@ async function hostRun(browser, label, url, activate) {
|
|||
}
|
||||
|
||||
const browser = await chromium.launch()
|
||||
// ★ index.html IS EXPLICIT. These were bare-directory URLs. The old local server resolved a
|
||||
// directory to its index; the live static layer returns 404, so this gate was only ever green
|
||||
// because the local server was more forgiving than production. Under serve-strict.mjs it reported
|
||||
// UNMEASURED for BOTH hosts the first time it ran — correctly refusing to claim a pass it could not
|
||||
// measure, which is the difference between this gate and one that would have found 0 dropdowns and
|
||||
// called that 0 problems.
|
||||
const hosts = [
|
||||
await hostRun(browser, 'STANDALONE research-dashboard', `${BASE}/research-dashboard/research-dashboard/${TK}`, null),
|
||||
await hostRun(browser, 'INSIDE cap-5 plugin-studio', `${BASE}/plugin-studio/plugin-studio/${TK}`, '/dashboard-plus-grid/i'),
|
||||
await hostRun(browser, 'STANDALONE research-dashboard', `${BASE}/research-dashboard/research-dashboard/index.html${TK}`, null),
|
||||
await hostRun(browser, 'INSIDE cap-5 plugin-studio', `${BASE}/plugin-studio/plugin-studio/index.html${TK}`, '/dashboard-plus-grid/i'),
|
||||
]
|
||||
await browser.close()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue