Skip to content

test(playwright): cover browser flows with typed harness#1076

Draft
ThatGuySam wants to merge 2 commits intomasterfrom
codex/test-only-playwright-ts
Draft

test(playwright): cover browser flows with typed harness#1076
ThatGuySam wants to merge 2 commits intomasterfrom
codex/test-only-playwright-ts

Conversation

@ThatGuySam
Copy link
Copy Markdown
Owner

Summary

  • add typed Playwright browser harness helpers
  • add Apple Silicon app-test upload regression coverage
  • migrate the Pagefind browser regression to TypeScript and fix the package script aliases
  • add the follow-up TypeScript rollout plan as a separate docs commit

Verification

  • pnpm run typecheck
  • pnpm run test:browser
  • pnpm run test:browser:pagefind

Notes

  • no runtime application code changed
  • .omx local state was left untracked

Lock the Apple Silicon upload flow behind a real browser regression and migrate the Pagefind browser regression onto a shared typed harness. This keeps the branch non-runtime and repairs the targeted pagefind script alias after moving the browser test to TypeScript.

Constraint: Must avoid runtime code changes on this branch
Rejected: Ship the app-test coverage without fixing script aliases | leaves a broken targeted check in package.json
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep browser-only support helpers under test/playwright/support until runtime code is typed separately
Tested: pnpm run typecheck; pnpm run test:browser; pnpm run test:browser:pagefind
Not-tested: pnpm run test:browser:pagefind:live
Record the staged approach for locking the Apple Silicon scan flow with browser coverage before moving deeper into the TypeScript conversion. Keeping this plan separate from the test commit preserves a clean non-runtime history.

Constraint: Plan should not change runtime behavior or blur code-review scope
Rejected: Fold the plan into the browser-test commit | mixes delivery guidance with executable changes
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Revisit the worker-based scanner path only after the legacy app-test route has stable browser coverage
Tested: Document reviewed against current staged test coverage and repo layout
Not-tested: Plan execution beyond the committed browser-test slice
@codesandbox
Copy link
Copy Markdown

codesandbox bot commented Apr 4, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant