mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-01-09 07:32:05 +08:00
* try with bdd test
* update
* update
* add workspace
* update
* fix
* ci
* ci
* fix
* update
* update
* update parallel
* update config
* ⚡️ perf: increase e2e timeout to 120 seconds
Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
* update config
* more parallel
* fix parallel
* fix tests
* refactor to improve performance
* fix
* fix
* fix
* refactor with tsx
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
25 lines
876 B
JSON
25 lines
876 B
JSON
{
|
|
"name": "@lobechat/e2e-tests",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "E2E tests for LobeChat using Cucumber and Playwright",
|
|
"scripts": {
|
|
"test": "cucumber-js --config cucumber.config.js",
|
|
"test:discover": "cucumber-js --config cucumber.config.js src/features/discover/",
|
|
"test:headed": "HEADLESS=false cucumber-js --config cucumber.config.js",
|
|
"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",
|
|
"@playwright/test": "^1.56.1",
|
|
"playwright": "^1.56.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.5",
|
|
"tsx": "^4.20.6",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|