2024-12-31 14:49:52 +00:00
|
|
|
{
|
|
|
|
|
"name": "twenty-e2e-testing",
|
|
|
|
|
"projectType": "application",
|
|
|
|
|
"tags": ["scope:testing"],
|
|
|
|
|
"targets": {
|
|
|
|
|
"setup": {
|
|
|
|
|
"executor": "nx:run-commands",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "packages/twenty-e2e-testing",
|
|
|
|
|
"commands": [
|
2025-01-20 09:59:01 +00:00
|
|
|
"yarn playwright install",
|
|
|
|
|
"cp .env.example .env"
|
2024-12-31 14:49:52 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test": {
|
|
|
|
|
"executor": "nx:run-commands",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "packages/twenty-e2e-testing",
|
|
|
|
|
"commands": [
|
|
|
|
|
"yarn playwright test"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test:ui": {
|
|
|
|
|
"executor": "nx:run-commands",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "packages/twenty-e2e-testing",
|
|
|
|
|
"commands": [
|
|
|
|
|
"yarn playwright test --ui"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test:debug": {
|
|
|
|
|
"executor": "nx:run-commands",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "packages/twenty-e2e-testing",
|
|
|
|
|
"commands": [
|
|
|
|
|
"yarn playwright test --debug"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test:report": {
|
|
|
|
|
"executor": "nx:run-commands",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "packages/twenty-e2e-testing",
|
|
|
|
|
"commands": [
|
|
|
|
|
"yarn playwright show-report"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|