Commands
init
checksum/ folder containing:
checksum.config.ts— project configuration (base URL, browser settings, etc.)playwright.config.ts— Playwright configuration pre-wired for Checksumtsconfig.json— TypeScript configuration for the test directory- Login helper — a reusable authentication setup
- Example test — a starter test file to verify everything works
test
| Flag | Description |
|---|---|
-g "pattern" | Run only tests whose name matches the given pattern |
dotenv
.env file. This is useful for syncing secrets and configuration that your tests depend on without committing them to source control.
Flags
| Flag | Description |
|---|---|
--download | Download the environment variables |
--api-key=<KEY> | Your Checksum API key |
tsconfig
tsconfig.json file inside the checksum/ directory. Run this if you need to reset or refresh the TypeScript configuration after an upgrade.
eslint
checksum/ directory. When run, it will optionally install the required devDependencies:
eslinttypescripttypescript-eslint
show-report
postinstall
npm install and does not need to be run manually in most cases.
Configuration
Thechecksum.config.ts file in your checksum/ directory controls project-level settings such as the base URL, browser options, authentication flows, and more.
For the full configuration reference, see Repo & CLI Setup.