Skip to content

feat: add browser scenario test support - #95

Draft
joshblack with Copilot wants to merge 2 commits into
mainfrom
copilot/add-browser-test-support
Draft

feat: add browser scenario test support#95
joshblack with Copilot wants to merge 2 commits into
mainfrom
copilot/add-browser-test-support

Conversation

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Scenarios can now include an optional scenario.browser.test.ts alongside the required scenario.test.ts, running through Vitest’s Playwright browser mode.

  • Discovery

    • Resolve and serialize the optional browser test path.
    • Keep grading tests excluded from the agent workspace.
  • Execution

    • Validate Playwright dependencies and install Chromium before agent execution.
    • Run browser tests headlessly after node tests.
  • Results

    • Combine node and browser outcomes into one score and artifact.
    • Preserve per-file test descriptions.
  • Authoring

    • Document required scenario dependencies:
npm install --save-dev vitest playwright @vitest/browser-playwright

@joshblack joshblack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot don't make consumers install these deps. Just mirror what we already do for vitest and install them automatically

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.

2 participants