summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-09-10 22:25:29 +0000
committerGerrit Code Review <review@openstack.org>2018-09-10 22:25:29 +0000
commit0ce9a83c47236cdd01362aca088afb06ffe056f6 (patch)
tree982574cb383ccf3de48d15a0c2e790a2258e7b6d
parentf2591e106155da60c8161f78d0f96da6ebef2bac (diff)
parentb942859fcf55a06d0e78387c06267c169b44b206 (diff)
Merge "update test section about requiring chromium"
-rw-r--r--README.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index f7ad69f..27ba7b7 100644
--- a/README.rst
+++ b/README.rst
@@ -226,6 +226,21 @@ To test python code, run::
226Frontend 226Frontend
227-------- 227--------
228 228
229The frontend tests ``npm test`` and ``npm run unit`` use a headless chrome
230driver and the driver requires the chromium-browser package to be installed on
231the system, you can do this by running::
232
233 $ sudo apt-get install chromium-browser
234
235.. note::
236 When using an operating system that is not ubuntu 16.04 the
237 process.env.CHROME_BIN variable may need to be updated in
238 openstack-health/test/karma.conf.js to reflect your system's chromium
239 path.
240
241 For example on SUSE Leap OS, process.env.CHROME_BIN = '/usr/bin/chromium'
242 must be set.
243
229To test javascript code, run:: 244To test javascript code, run::
230 245
231 $ npm test 246 $ npm test