- Added Playwright for end-to-end testing in the `apps/web` module, including a new `login.spec.ts` for testing login functionality. - Updated package.json to include Playwright dependencies and new test commands for E2E testing. - Enhanced .gitignore to exclude Playwright test results and reports. - Modified existing documentation to reflect the integration of Playwright and updated testing guidelines. - Refactored test commands to streamline the testing process, including a dedicated command for E2E tests. These changes improve the testing framework by providing robust E2E testing capabilities, enhancing the reliability and quality of the application.
61 lines
996 B
JSON
61 lines
996 B
JSON
{
|
|
"$schema": "https://turborepo.com/schema.json",
|
|
"ui": "tui",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
".env*"
|
|
],
|
|
"outputs": [
|
|
"dist/**",
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"out/**",
|
|
"release/**",
|
|
"web-dist/**"
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": [
|
|
"^lint"
|
|
]
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": [
|
|
"^typecheck"
|
|
]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"dev:desktop": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"test": {
|
|
"dependsOn": [
|
|
"^test"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$"
|
|
],
|
|
"outputs": [
|
|
"coverage/**",
|
|
".vitest/**"
|
|
]
|
|
},
|
|
"test:watch": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"test:e2e": {
|
|
"cache": false,
|
|
"dependsOn": []
|
|
}
|
|
}
|
|
} |