Test workflows in gitbook-x
An overview of the different types of tests we have and how you can run them.
💻 Browser tests
4
Run tests
## Run all browser tests
pnpm --filter @tests/playwright test:browser
## Run a specific suite of tests
pnpm --filter @tests/playwright test:browser specs/blocks/content.spec.ts
## Add --headed to watch along how Playwright executes the tests in a browser
pnpm --filter @tests/playwright test:browser --headed --debug
## Add --debug to also allow debugging at every step of the code
pnpm --filter @tests/playwright test:browser --headed --debug📃 Tests in `doc-core`
📝 Tests in `doc-format`
🌐 Running tests in react-app
Extra info on test runners
Package
Command
Runner
Note about running tests from root
Last updated