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

Merge branch 'doc-watir' into 'dev'

Doc watir

See merge request !517
parents 38756b55 ee688620
Pipeline #94789 failed with stages
in 23 minutes and 52 seconds
......@@ -249,7 +249,7 @@ webpage.
1. Install rvm
``` bash
\curl -sSL https://get.rvm.io | bash
curl -sSL https://get.rvm.io | sudo bash
```
Afterwards you may need to launch:
......@@ -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