mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
58 lines
3 KiB
JSON
58 lines
3 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 --project=e2e:isolated",
|
|
"test:all": "playwright test",
|
|
"test:local": "N8N_BASE_URL=http://localhost:5680 RESET_E2E_DB=true playwright test --project=e2e --project=e2e:isolated",
|
|
"test:local:e2e-only": "N8N_BASE_URL=http://localhost:5680 RESET_E2E_DB=true playwright test --project=e2e",
|
|
"test:local:isolated": "N8N_BASE_URL=http://localhost:5680 RESET_E2E_DB=true playwright test --project=e2e:isolated",
|
|
"test:e2e": "playwright test --project=*e2e*",
|
|
"test:performance": "playwright test --project=performance",
|
|
"test:infrastructure": "playwright test --project='*:infrastructure'",
|
|
"test:container:sqlite": "playwright test --project='sqlite:*'",
|
|
"test:container:sqlite:e2e": "playwright test --project='sqlite:e2e'",
|
|
"test:container:sqlite:isolated": "playwright test --project='sqlite:e2e:isolated'",
|
|
"test:container:postgres": "playwright test --project='postgres:*'",
|
|
"test:container:queue": "playwright test --project='queue:*'",
|
|
"test:container:queue:e2e-only": "playwright test --project='queue:e2e'",
|
|
"test:container:queue:isolated": "playwright test --project='queue:e2e:isolated'",
|
|
"test:container:multi-main": "playwright test --project='multi-main:*'",
|
|
"test:container:multi-main:e2e": "playwright test --project='multi-main:e2e'",
|
|
"test:container:multi-main:isolated": "playwright test --project='multi-main:e2e:isolated'",
|
|
"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",
|
|
"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",
|
|
"lint": "eslint . --quiet",
|
|
"lint:fix": "eslint . --fix",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@currents/playwright": "catalog:e2e",
|
|
"@n8n/api-types": "workspace:*",
|
|
"@n8n/constants": "workspace:*",
|
|
"@n8n/db": "workspace:*",
|
|
"@playwright/test": "catalog:e2e",
|
|
"@types/lodash": "catalog:",
|
|
"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",
|
|
"tsx": "catalog:",
|
|
"zod": "catalog:"
|
|
}
|
|
}
|