Page MenuHomeSoftware Heritage

templates/cypress-tests: Fix tests and code coverage reports
ClosedPublic

Authored by anlambert on Jun 25 2021, 1:44 PM.

Details

Summary

templates/cypress-tests: Fix code coverage data generation

swh-web assets were not compiled in test mode and thus istanbul babel
plugin (generating coverage data) were not included in the generated
js files.

Coverage report is now correctly generated and coverage info for js
files are now properly displayed in Phabricator Diff UI.

templates/cypress-tests: Fix uploaded mochawesome HTML report display

Using the includes parameter of publishHTML pipeline step is no longer
needed and prevents proper display of the mochawesome HTML report in
Jenkins Web UI.

Diff Detail

Repository
rCJSWH Jenkins jobs
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22245
Build 34626: arc lint + arc unit