docs: document browser mode auto cleanup behavior#10045
docs: document browser mode auto cleanup behavior#10045hi-ogawa merged 13 commits intovitest-dev:mainfrom
Conversation
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
| // TODO: | ||
| // playwright/firefox doesn't seem to have mouse state isolation per frames. | ||
| // for example, the following can fail by race conditions: | ||
| // BROWSER=firefox pnpm -C test/browser/ test-fixtures --root fixtures/user-event-hover --browser.headless --fileParallelism | ||
| fileParallelism: false, |
There was a problem hiding this comment.
Not sure if this is expected. Is it the issue on vitest or playwright? Should we track the issue?
There was a problem hiding this comment.
Interesting, I would expect it to spawn different contexts with different positions, although since it's not chromium maybe it works differently
sheremet-va
left a comment
There was a problem hiding this comment.
I wonder if we should track and reset only if needed, but I'm not sure
|
Also another concern is that actually resetting cursor position seems a bit tricky. Even if we want, I'm not sure it's possible to absolutely reset the cursor. |
Description
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.