Karma cannot start Firefox with Jenkins and Ubuntu 12.04

后端 未结 2 758
野性不改
野性不改 2021-02-10 07:37

I have set up a Jenkins job that should run Firefox. Signed in to Ubuntu with the Jenkins user, I can manually launch Firefox without any problem. However, when I run the job in

2条回答
  •  孤街浪徒
    2021-02-10 08:29

    Would you mind running karma with --log-level debug and also --no-colors so we can have a better idea of the reason why it fails?

    I you also tried with another browser? I often encounter issues while running a GUI tool within Jenkins.

    You might want to try running your test suite with PhantomJS (http://phantomjs.org/) just to see if a headless browser would solve the problem

提交回复
热议问题