Commit 0a8188db authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch '2667-headless_and_conf' into 'dev'

: dev.org : add warning about conf.js and headless bowser testing

See merge request !83
parents 97f6751e bbe486c6
......@@ -424,6 +424,14 @@ make functional
yum install xvfb
#+END_SRC
If you have set a configuration file (browser/js/conf.js), you should remove it during the headless testing. The easiest way to do it is to launch these commands before and after the test
#+BEGIN_SRC sh
# before tests
mv browser/js/conf.js browser/js/conf.js.bak
# after tests
mv browser/js/conf.js.bak browser/js/conf.js
#+END_SRC
Then the browser tests can be launched in headless mode with:
#+BEGIN_SRC sh
make headless
......
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