Created
February 5, 2013 08:10
-
-
Save isa/4713014 to your computer and use it in GitHub Desktop.
capybara-webkit with xvfb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Webkit needs an X server in order to be able to render. If you're running on any Linux server distribution then you won't have an X server running. You can use the xvfb package to generate a virtual framebuffer for the duration of your tests. For example: | |
DISPLAY=localhost:1.0 xvfb-run cucumber | |
If you are running this on a build server you might have something like this: | |
DISPLAY=localhost:1.0 xvfb-run cucumber -p default -f junit -o cucumber | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment