e2e on CI

This commit is contained in:
SPRINX0\prochazka
2024-12-09 14:51:56 +01:00
parent c201f06103
commit f3c3ddd73a
6 changed files with 206 additions and 23 deletions

View File

@@ -4,10 +4,14 @@
"main": "index.js",
"license": "GPL",
"devDependencies": {
"cypress": "^13.16.1"
"cypress": "^13.16.1",
"start-server-and-test": "^2.0.8"
},
"scripts": {
"cy:open": "cypress open",
"cy:run": "cypress run"
"cy:run": "cypress run",
"start": "cd .. && node packer/build/bundle.js --listen-api --run-packer-build",
"test": "yarn cy:run",
"ci": "start-server-and-test http://localhost:3000"
}
}