Create junit reports for cypress test and do not fail the build

This commit is contained in:
Sebastian Sdorra
2020-08-25 11:17:05 +02:00
parent 6a390ee811
commit d6a5c54aba
4 changed files with 9 additions and 3 deletions

View File

@@ -7,7 +7,8 @@
"license": "MIT",
"private": false,
"scripts": {
"headless": "cypress run"
"headless": "cypress run",
"ci": "cypress run --reporter junit --reporter-options \"mochaFile=../target/cypress-reports/TEST-[hash].xml\""
},
"devDependencies": {
"cypress": "^4.12.0",