Commit 981cb5fa authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Doc: Add method to access the headless mode for browser tests

parent 0a4802e4
......@@ -43,3 +43,27 @@ gem install test-unit
ruby test_browser.rb
** Headless mode
On servers without a X server the browser tests can be launched in headless
For this sake one needs to install a few more dependencies:
gem install headless
The virtual framebuffer X server (=xvfb=) must also be installed. Depending
on the operating system the command will be different:
# On Debian/Ubuntu
apt-get install xvfb
# On Fedora/CentOS
yum install xvfb
Then the browser tests can be launched in headless mode with:
HEADLESS=1 ruby test_browser.rb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment