add playwright and run e2e tests on production like environment

This commit is contained in:
Lukas Hass
2022-02-18 14:40:20 +01:00
parent 8dc31c9e06
commit b1c7e01008
20 changed files with 1987 additions and 7331 deletions
+6 -8
View File
@@ -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"
}
}