🎑27. Cypress Reports

Bunun için Mochawesome Report plugini kullanabilirsiniz.

// gerekli paketlerimizi yükleyelim
npm install mochawesome --save-dev
npm install mocha --save-dev 
npm install mochawesome-merge --save-dev

npm run combine-reports

Implementation in cypress.config.js

{
  "reporter": "mochawesome",
  "reporterOptions": {
  "reportDir": "cypress/results",
  "overwrite": false,
  "html": false,
  "json": true
  }
}
npx cypress run 

Teamcity report için

npm install cypress-teamcity-reporter --save-dev
npx cypress run --reporter teamcity

Last updated