Repository navigation
Testing
github-actions[bot] edited this page Nov 4, 2026
·
1 revision
| Layer | Tool | Location |
|---|---|---|
| Unit | Vitest | Next to the code, as *.test.ts
|
| Plugin | Node test runner | packages/restless-plugin-secret-managers |
| End-to-end | Playwright | packages/insomnia-smoke-test |
npm testBuild first, then run them headless:
npm run app-buildHEADLESS=1 npm run test:smoke:buildA full run takes over 20 minutes, longer on a slow machine. Playwright stops at its global timeout, so tests that didn't run are not failures. Pass --global-timeout to allow more time.
npm run build -w packages/insomnia-insoThe inso packaged binary group needs a packaged binary, and is not part of npm test.
Headless mode has no window controls. Check them in a real window on Linux, and when you change themes.
Playwright forces a light color scheme. Pass colorScheme: 'no-override' when testing system themes.
npm run lintnpm run type-checknpm test- Smoke tests
These pages are generated from docs/wiki in the repository. Edit them there, not on the wiki.