-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runnerp3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
#7565 fixed the issue when the timeout would fail the test without a good error trace. Unfortunately, it doesn't calculate the time correctly for beforeEach and afterEach hooks
See https://github.com/vitest-dev/vitest/pull/7565/files#r2001013538
Reproduction
afterEach(() => {
await page.getByTole('button').click()
}, 2000)System Info
AnyUsed Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runnerp3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Type
Projects
Status
Approved