You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing Vuetify components, we recommend running tests in a real browser environment instead of `jsdom`.
110
+
111
+
### Recommended Test Runners
112
+
113
+
*[Vitest (browser mode)](https://vitest.dev/guide/browser/) – Fast, Vite-native test runner with browser support.
114
+
*[Playwright](https://playwright.dev/) – End-to-end testing in actual browsers.
115
+
*[Cypress](https://www.cypress.io/) – Great for integration and E2E tests.
116
+
117
+
### Rendering with Vuetify
118
+
119
+
To properly render Vuetify components in tests, create a Vuetify instance and pass it to the test renderer. You don’t need to mock transitions or other internals.
Tests should respect user accessibility preferences. Configure [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) when testing animations to avoid flakiness and ensure accessibility compliance.
0 commit comments