Skip to content

PoC: move some e2e tests to Vitest browser mode #3287

Draft
david-crespo wants to merge 7 commits into
mainfrom
vitest-browser
Draft

PoC: move some e2e tests to Vitest browser mode #3287
david-crespo wants to merge 7 commits into
mainfrom
vitest-browser

Conversation

@david-crespo

@david-crespo david-crespo commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

We have a lot of e2e tests that are really more like UI unit tests, and they seem to be quite bit faster this way (2 seconds for three browsers vs. 8 seconds for one browser), presumably because Vitest doesn't spin up a whole new page for every test. In addition to the speed improvement, it's also nice to have the unit-test-like parts of our code actually written as such, instead of being buried in tests for pages that happen to have that component on them.

https://vitest.dev/guide/browser/why.html

image

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Jul 10, 2026 9:22pm

Request Review

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