n8n/packages/testing/playwright/package.json
José Braulio González Valido 560f300716
test: Add Instance AI workflow evals CI pipeline (no-changelog) (#28366)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 14:15:41 +00:00

69 lines
3.2 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: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='benchmark-*'",
"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:queue:e2e": "playwright test --project='queue:e2e'",
"test:container:multi-main": "playwright test --project='multi-main:*'",
"test:container:multi-main:e2e": "playwright test --project='multi-main:e2e'",
"test:container:trial": "playwright test --project='trial:*'",
"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",
"@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/lodash": "catalog:",
"autocannon": "^8.0.0",
"eslint-plugin-playwright": "catalog:e2e",
"flatted": "catalog:",
"generate-schema": "2.6.0",
"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:"
}
}