mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
test(e2e): add command to run single test file
- Add npm run e2e:playwright:file command for running individual test files - Update CLAUDE.md documentation with all Playwright commands - Example usage: npm run e2e:playwright:file tests/work-view/work-view.spec.ts
This commit is contained in:
parent
69cb6d7e5a
commit
fadff3bc19
2 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ npm run test:file <filepath>
|
|||
- `npm run e2e:playwright:quick` - Run tests with minimal output (faster debugging)
|
||||
- `npm run e2e:playwright:summary` - Show concise test summary after run
|
||||
- `npm run e2e:playwright:failures` - Show only failing tests
|
||||
- `npm run e2e:playwright:file <path>` - Run a single test file (e.g., `npm run e2e:playwright:file tests/work-view/work-view.spec.ts`)
|
||||
- Linting: `npm run lint` - ESLint for TypeScript, Stylelint for SCSS
|
||||
|
||||
## Architecture Overview
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
"e2e:playwright:failures": "cd e2e-playwright && npx playwright test --reporter=list --grep-invert @skip || true",
|
||||
"e2e:playwright:summary": "cd e2e-playwright && node ../tools/test-summary.js",
|
||||
"e2e:playwright:quick": "cd e2e-playwright && npx playwright test --config=playwright.config.minimal.ts",
|
||||
"e2e:playwright:file": "cd e2e-playwright && npx playwright test",
|
||||
"electron": "NODE_ENV=PROD electron .",
|
||||
"electron:build": "tsc -p electron/tsconfig.electron.json",
|
||||
"electron:watch": "tsc -p electron/tsconfig.electron.json --watch",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue