[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

at renovate/all-minor-patch 7 folders 14 files
README.md

Browser Tests#

# run full test with all providers and all browsers
pnpm run test

# run only playwright provider + all browsers
pnpm run test:playwright

# run only playwright provider + chromium
TEST_BROWSER=chromium pnpm run test:playwright

# run specific fixture (default is playwright provider + all browsers)
pnpm run test-fixtures --root ./fixtures/locators

# run specific fixture with selected provider and browser
PROVIDER=playwright TEST_BROWSER=firefox pnpm run test-fixtures --root ./fixtures/locators

Using docker playwright#

Some test suites don't support running it remotely (fixtures/inspect and fixtures/insecure-context).

# Start playwright browser server
pnpm docker up -d

# Run tests with BROWSER_WS_ENDPOINT
BROWSER_WS_ENDPOINT=true pnpm run test:playwright