mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-30 13:35:10 +02:00
After implementing the websocket and api stress tests, this last step is using playwright to simulate a real user using docs. A real chromium will be used for this. The idea is to see what a user feels when Docs is under load.
31 lines
805 B
JSON
31 lines
805 B
JSON
{
|
|
"name": "docs-loadtest-canary",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "A few real browsers opening and editing documents in a loop, measuring what a user would feel while the load generators run",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"start": "node dist/index.js",
|
|
"lint": "eslint",
|
|
"test": "vitest run"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"packageManager": "yarn@1.22.22",
|
|
"dependencies": {
|
|
"playwright": "1.62.1",
|
|
"prom-client": "15.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "10.0.1",
|
|
"@types/node": "24.13.3",
|
|
"eslint": "10.9.0",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"typescript": "6.0.3",
|
|
"typescript-eslint": "8.69.0",
|
|
"vitest": "3.2.7"
|
|
}
|
|
}
|