Overview
@livepreso/content-testing supports two kinds of test, each with its own tool. Use either or both.
- Unit tests run in jest, with no browser, over deck code and editable fields.
- End-to-end tests run in playwright, over a deck on the stage and the fieldsets form.
Installing​
- npm
- Yarn
- pnpm
npm install --save-dev @livepreso/content-testing
yarn add --dev @livepreso/content-testing
pnpm add --save-dev @livepreso/content-testing
Each page shows how to install and configure its own tool.