Skip to content

Replace PhantomJS with headless Chrome in frontend test suite

Mike Greiling requested to merge karma-headless-chrome into master

What does this MR do?

  • adds karma-chrome-launcher to devDependencies
  • removes karma-phantomjs-launcher from devDependencies
  • replaces PhantomJS with ChromeHeadless browser config in karma.config.js
  • fixes failing tests
  • remove phantomjs-specific hacks from tests
  • updates .gitlab-ci.yml to utilize new docker image containing headless Chrome

Are there points in the code the reviewer needs to double check?

  • karma test job should pass

Why was this MR needed?

see #30876 (closed)

Screenshots (if relevant)

Screen_Shot_2017-06-09_at_12.29.50_AM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

part of #30876 (closed)

related: gitlab-build-images#10 (closed)

Edited by Mike Greiling

Merge request reports

Loading