✅(project) install e2e playwright
Install playwright, adapt the config file and add a scripts to run the tests. e2e testing will monitor all our frontend applications, so we install it in the frontend folder. It configures the base of our monorepo.
This commit is contained in:
23
src/frontend/package.json
Normal file
23
src/frontend/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "people",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"workspaces": {
|
||||
"packages": [
|
||||
"apps/*"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"APP_DESK": "yarn workspace app-desk",
|
||||
"APP_E2E": "yarn workspace app-e2e",
|
||||
"app:dev": "yarn APP_DESK run dev",
|
||||
"app:start": "yarn APP_DESK run start",
|
||||
"app:build": "yarn APP_DESK run build",
|
||||
"app:test": "yarn APP_DESK run test",
|
||||
"e2e:test": "yarn APP_E2E run test"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/node": "20.10.8",
|
||||
"typescript": "5.3.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user