2025-10-23 02:15:24 +08:00
|
|
|
{
|
|
|
|
|
"name": "@lobechat/e2e-tests",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"description": "E2E tests for LobeChat using Cucumber and Playwright",
|
|
|
|
|
"scripts": {
|
2025-12-31 02:13:32 +08:00
|
|
|
"build": "cd .. && bun run build",
|
2025-10-23 02:15:24 +08:00
|
|
|
"test": "cucumber-js --config cucumber.config.js",
|
2025-12-31 02:13:32 +08:00
|
|
|
"test:ci": "bun run build && bun run test",
|
2026-01-06 15:58:01 +08:00
|
|
|
"test:community": "cucumber-js --config cucumber.config.js src/features/community/",
|
2026-02-28 00:01:01 +08:00
|
|
|
"test:headed": "cross-env HEADLESS=false cucumber-js --config cucumber.config.js",
|
2025-10-23 02:15:24 +08:00
|
|
|
"test:routes": "cucumber-js --config cucumber.config.js --tags '@routes'",
|
|
|
|
|
"test:routes:ci": "cucumber-js --config cucumber.config.js --tags '@routes and not @ci-skip'",
|
|
|
|
|
"test:smoke": "cucumber-js --config cucumber.config.js --tags '@smoke'"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@cucumber/cucumber": "^12.2.0",
|
2025-11-30 19:39:26 +08:00
|
|
|
"@playwright/test": "^1.57.0",
|
2025-12-31 02:13:32 +08:00
|
|
|
"bcryptjs": "^3.0.3",
|
|
|
|
|
"pg": "^8.16.0",
|
2025-11-30 19:39:26 +08:00
|
|
|
"playwright": "^1.57.0"
|
2025-10-23 02:15:24 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-11-21 14:18:45 +08:00
|
|
|
"@types/node": "^24.10.1",
|
2026-02-28 00:01:01 +08:00
|
|
|
"cross-env": "^10.1.0",
|
2025-10-23 02:15:24 +08:00
|
|
|
"tsx": "^4.20.6",
|
2025-11-17 09:56:56 +08:00
|
|
|
"typescript": "^5.9.3"
|
2025-10-23 02:15:24 +08:00
|
|
|
}
|
|
|
|
|
}
|