ruby on rails - Headless gem: webkit_server: cannot connect to X server -


I have some problems running Kathrybara webkit, with Headless Mani, XVFB and our CI server. We use this setup for automatic integration testing and Javascript testing of our Ruby on Rails 3.2 app. During the trial, it complains that

  webkit_server: X can not connect to the server  

but when I ps aux | Grep Xvfb

  Dedicated 1602 0.0 0.1 61696 1912 points / 2 S + July 10 00:00 / USR / bin / XVFB: 99 -Screen 0 1280x1024x24 -ac  

I am running XVBB. If I run a test with - trace then this only shows the error log above and I can not debug the error.

Any ideas how can I get some more information, or even a solution?

I was trying to work with Kapira-Webkit Mani with Capira and ended up with my tests Using xvfb-run in CI job for

  xvfb-run bundle ACC CAK ...  

Is your CI executing a job?


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -