n8n/packages/testing/playwright/package.json
Declan Carroll 3a33a448b0
Some checks failed
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Has been cancelled
CI: Master (Build, Test, Lint) / Unit tests (22.x) (push) Has been cancelled
CI: Master (Build, Test, Lint) / Unit tests (24.14.1) (push) Has been cancelled
CI: Master (Build, Test, Lint) / Unit tests (25.x) (push) Has been cancelled
CI: Master (Build, Test, Lint) / Lint (push) Has been cancelled
CI: Master (Build, Test, Lint) / Performance (push) Has been cancelled
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Prepare Docker (coverage) (push) Has been cancelled
Util: Update Node Popularity / approve-and-automerge (push) Has been cancelled
Test: E2E Coverage Weekly / E2E (coverage) (push) Has been cancelled
Test: E2E Coverage Weekly / Aggregate Coverage (push) Has been cancelled
Release: Schedule Patch Release PRs / Create patch release PR (${{ matrix.track }}) (beta) (push) Has been cancelled
Release: Schedule Patch Release PRs / Create patch release PR (${{ matrix.track }}) (stable) (push) Has been cancelled
Release: Schedule Patch Release PRs / Create patch release PR (${{ matrix.track }}) (v1) (push) Has been cancelled
test(benchmark): Question-driven Playwright benchmark suite with tiered topology and rich diagnostics (#29024)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 21:14:08 +00:00

74 lines
3.4 KiB
JSON

{
"name": "n8n-playwright",
"private": true,
"scripts": {
"dev": "N8N_BASE_URL=http://localhost:5678 N8N_EDITOR_URL=http://localhost:8080 RESET_E2E_DB=true playwright test --project=e2e",
"test:dev-server-smoke": "N8N_BASE_URL=http://localhost:5678 N8N_EDITOR_URL=http://localhost:8080 RESET_E2E_DB=true playwright test --project=dev-server-smoke",
"test:all": "playwright test",
"test:local": "N8N_BASE_URL=http://localhost:5680 RESET_E2E_DB=true playwright test --project=e2e",
"test:local:isolated": "node scripts/run-local-isolated.mjs",
"test:local:instance-ai": "node scripts/run-local-instance-ai.mjs",
"test:e2e": "playwright test --project=*e2e*",
"test:performance": "playwright test --project=performance",
"test:infrastructure": "playwright test --project='*:infrastructure'",
"test:benchmark": "playwright test --project='benchmarking:infrastructure'",
"test:container:sqlite": "playwright test --project='sqlite:*'",
"test:container:sqlite:e2e": "playwright test --project='sqlite:e2e'",
"test:container:postgres": "playwright test --project='postgres:*'",
"test:container:queue": "playwright test --project='queue:*'",
"test:container:multi-main": "playwright test --project='multi-main:*'",
"test:container:multi-main:e2e": "playwright test --project='multi-main:e2e'",
"test:container:coverage": "playwright test --project=coverage",
"test:workflows:setup": "tsx ./tests/cli-workflows/setup-workflow-tests.ts",
"test:workflows": "playwright test --project=cli-workflows",
"test:workflows:schema": "SCHEMA=true playwright test --project=cli-workflows",
"test:workflows:update": "playwright test --project=cli-workflows --update-snapshots",
"coverage:report": "node scripts/generate-coverage-report.js",
"coverage:clean": "rm -rf coverage .nyc_output",
"coverage:analyse": "node scripts/coverage-analysis.mjs",
"install-browsers": "PLAYWRIGHT_BROWSERS_PATH=./.playwright-browsers playwright install chromium --with-deps",
"browsers:uninstall": "playwright uninstall --all",
"prepare-test-image": "node scripts/build-test-image.mjs",
"format": "biome format --write .",
"format:check": "biome ci .",
"lint": "eslint . --quiet",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"janitor": "tsx ../janitor/src/cli.ts",
"janitor:fix": "tsx ../janitor/src/cli.ts --fix --write"
},
"devDependencies": {
"@currents/playwright": "catalog:e2e",
"@memlab/api": "2.0.0",
"@memlab/heap-analysis": "2.0.0",
"@n8n/api-types": "workspace:*",
"@n8n/constants": "workspace:*",
"@n8n/db": "workspace:*",
"@n8n/instance-ai": "workspace:*",
"@n8n/permissions": "workspace:*",
"@n8n/playwright-janitor": "workspace:*",
"@n8n/workflow-sdk": "workspace:*",
"@playwright/cli": "catalog:e2e",
"@playwright/test": "catalog:e2e",
"@types/autocannon": "^7.12.7",
"@types/jsonwebtoken": "catalog:",
"@types/lodash": "catalog:",
"autocannon": "^8.0.0",
"eslint-plugin-playwright": "catalog:e2e",
"flatted": "catalog:",
"generate-schema": "2.6.0",
"jsonwebtoken": "catalog:",
"mockserver-client": "^5.15.0",
"n8n": "workspace:*",
"n8n-containers": "workspace:*",
"n8n-core": "workspace:*",
"n8n-workflow": "workspace:*",
"nanoid": "catalog:",
"nyc": "^17.1.0",
"otplib": "^12.0.1",
"ts-morph": "catalog:",
"tsx": "catalog:",
"zod": "catalog:"
}
}