n8n/packages/testing/playwright/package.json
n8n-cat-bot[bot] 438cade960
ci: Publish sizing-matrix artifacts and make aggregator (#32726)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 12:32:37 +00:00

91 lines
4.5 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",
"bench:canvas": "playwright test --project=performance tests/performance/canvas",
"bench:canvas:tier": "playwright test --project=performance tests/performance/canvas --grep",
"bench:canvas:sentinels": "node scripts/canvas-perf-sentinels.mjs test-results.json",
"bench:canvas:report": "playwright show-report",
"test:infrastructure": "playwright test --project='*:infrastructure'",
"test:benchmark": "playwright test --project='benchmarking:infrastructure'",
"benchmark:sizing-matrix": "tsx scripts/sizing-matrix-aggregate.ts",
"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": "COVERAGE_ENABLED=true N8N_COVERAGE_DIR=\"$PWD/coverage/.backend-v8\" 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",
"test:evals": "playwright test --project=eval",
"test:evals:smoke": "playwright test --project=eval:smoke",
"test:unit": "vitest run",
"coverage:shard": "node scripts/run-coverage-shard.mjs",
"coverage:emit-shard": "tsx scripts/emit-shard-coverage.ts",
"coverage:emit-spec-lcovs": "tsx scripts/emit-spec-lcovs.ts",
"coverage:emit-spec-backend-lcovs": "tsx scripts/emit-spec-backend-lcovs.ts",
"coverage:clean": "rm -rf coverage coverage-by-spec coverage-by-spec-backend .v8-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": {
"@anthropic-ai/sdk": "0.91.1",
"@currents/playwright": "catalog:e2e",
"@types/debug": "^4.1.12",
"@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/test-impact": "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:",
"langsmith": "catalog:",
"mockserver-client": "^5.15.0",
"n8n": "workspace:*",
"n8n-containers": "workspace:*",
"n8n-core": "workspace:*",
"n8n-workflow": "workspace:*",
"nanoid": "catalog:",
"monocart-coverage-reports": "^2.12.0",
"otplib": "^12.0.1",
"ts-morph": "catalog:",
"tsx": "catalog:",
"zod": "catalog:",
"vitest": "catalog:"
},
"license": "LicenseRef-n8n-sustainable-use"
}