Commit ee688620 authored by Mikaël Salson's avatar Mikaël Salson

dev-client.md: update for watir tests

conf.js file should be moved not only for headless tests but for all of them.
parent 33e2bac0
Pipeline #94077 passed with stage
in 7 seconds
......@@ -311,7 +311,16 @@ webpage.
- `WATIR_MARIONETTE`
should be set to something evalued to `True` (*e.g. 1*)
if the tests must be launched on a recent Firefox version (\> 45)
2. If you have set a configuration file (browser/js/conf.js), you should remove it during the tests. The easiest way to do it is to launch these commands before and after the tests
``` bash
# before tests
mv browser/js/conf.js browser/js/conf.js.bak
# after tests
mv browser/js/conf.js.bak browser/js/conf.js
```
4. Headless mode
On servers without a X server the client tests can be launched in headless
......@@ -332,15 +341,6 @@ webpage.
yum install xvfb
```
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
``` bash
# before tests
mv browser/js/conf.js browser/js/conf.js.bak
# after tests
mv browser/js/conf.js.bak browser/js/conf.js
```
Then the client tests can be launched in headless mode with:
``` bash
......
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