Skip to content
Snippets Groups Projects

Replace PhantomJS with Chrome in Karma test runner (2nd attempt)

Merged username-removed-636429 requested to merge karma-headless-chrome-redux into master

This is a continuation of !12036 (merged) which was reverted in !12137 (merged) due to some transient CI failures.

Closes #33633 (closed)

Related to: #30876 (moved)

Changes from !12036 (merged):

  1. added the --no-sandbox flag to Chrome when it launches (this has documented compatibility issues when running in Docker)
  2. added and enabled chrome verbose output logging to a file named chrome_debug.log which will be saved in the CI job's artifacts. if we start to get any transient errors in the future, this log should be useful
  3. upgraded karma to a newer version which properly displays stderr output when a browser fails to launch
  4. upgraded jasmine-core to a newer version which should be less susceptible to the Disconnected, because no message in 10000 ms. errors as seen here.
Edited by username-removed-636429

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading