test(playwright): lock browser coverage before scanner refactors

Add a typed Playwright harness for Pagefind and the Apple Silicon app-test flow so scanner work has browser-level protection. Keep the rollout plan in the same stack so the TypeScript conversion stays staged and reviewable.

Constraint: Must not change production runtime behavior in this commit
Rejected: Leave the old JS browser test and add a second harness | duplicates setup and leaves the targeted browser script broken
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep browser-only helpers under test/playwright/support until the runtime scanner surface is fully typed
Tested: pnpm run typecheck; pnpm run test:browser; pnpm run test:browser:pagefind
Not-tested: Live browser checks against doesitarm.com
This commit is contained in:
ThatGuySam 2026-04-04 14:55:13 -05:00
parent c5ec942de0
commit 0480c47bbb
8 changed files with 633 additions and 276 deletions

View file

@ -9,7 +9,8 @@ const vitestConfig = {
test: {
setupFiles: 'tsconfig-paths/register',
include: [
'test/playwright/**/*.playwright.js'
'test/playwright/**/*.playwright.js',
'test/playwright/**/*.playwright.ts'
],
exclude: [
'test/_disabled/**'