stable

Clone or download

Read-only

request #10625: Use Chrome/Chromium headless instead of PhantomJS

The binary of Chrome/Chromium can have a different name dependending of the OS/ distribution used making it not that easy to properly detect if Chrome or Chromium is available in the environnement. Since it is generally easier to install Chromium on Linux since it often is in the distribution repositories, this contribution consider than when you run a Linux you use Chromium else you use Chrome. In any case with this contribution you need to have a recent version (aka a supported one) of Chrome/Chromium to launch 'npm run test'. Tests for the tracker artifact modal are now run independently from kanban. Change-Id: Ic4757648d9414f2e6b462dd500381bb404f181ae

Modified Files

Name
M plugins/agiledashboard/www/js/kanban/karma.conf.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package-lock.json +21 −688 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package.json +1 −4 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app.spec.js +0 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/webpack.config.js +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/karma/karma-unit.tpl.js +1 −10 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package-lock.json +21 −239 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package.json +1 −2 Go to diff View file
M plugins/frs/www/js/angular/karma/karma-unit.tpl.js +1 −10 Go to diff View file
M plugins/frs/www/js/angular/package-lock.json +21 −239 Go to diff View file
M plugins/frs/www/js/angular/package.json +1 −2 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/karma.conf.js +1 −1 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/package-lock.json +21 −643 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/package.json +1 −2 Go to diff View file
M plugins/tracker/www/scripts/angular-artifact-modal/webpack.config.js +2 −2 Go to diff View file
M tests/Jenkinsfile +15 −36 Go to diff View file
A tests/karma/seccomp_chrome.json +1536 −0 Go to diff View file