From: Ċ½eljko Filipin Date: Tue, 28 Nov 2017 13:26:42 +0000 (+0100) Subject: Document how to run just one Selenium test X-Git-Tag: 1.31.0-rc.0~1385^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=6586f5f29486431157c219d61fcdb5c25c8ca28a;p=lhc%2Fweb%2Fwiklou.git Document how to run just one Selenium test Bug: T139740 Change-Id: Ieb5f27285046c33d77b615159dc2000d80ef644a --- diff --git a/tests/selenium/README.md b/tests/selenium/README.md index a14cccb0fb..c895a4225a 100644 --- a/tests/selenium/README.md +++ b/tests/selenium/README.md @@ -30,6 +30,10 @@ Then in another terminal: cd tests/selenium ../../node_modules/.bin/wdio --spec specs/page.js +To run only one test (name contains string 'preferences'): + + ../../node_modules/.bin/wdio --spec specs/user.js --mochaOpts.grep preferences + The runner reads the config file `wdio.conf.js` and runs the spec listed in `page.js`.