add playwright and run e2e tests on production like environment
This commit is contained in:
+6
-8
@@ -1,14 +1,12 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"dockerode": "^3.3.1",
|
||||
"testcafe": "^1.18.0"
|
||||
"@playwright/test": "^1.19.1",
|
||||
"@types/dockerode": "^3.3.0",
|
||||
"axios": "^0.24.0",
|
||||
"dockerode": "^3.3.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "testcafe"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
||||
"@types/dockerode": "^3.3.0",
|
||||
"axios": "^0.24.0"
|
||||
"test": "ADMIN_API_TOKEN=123 playwright test",
|
||||
"test-prod-like": "OVERRIDE_DOCKER_COMPOSE=docker-compose.e2e.yml npm run test"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user