X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=tests%2Fselenium%2FREADME.md;h=6fad6febfe8e85760765011f45cafda1436896e9;hb=877c2e0a58749f0b71213eb7aa56e19dde1acd4e;hp=a14cccb0fb402ef4159244ddf740d1143ab9204a;hpb=313dde5d06c42be1eb7da9127ec92bb5d360ddab;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/selenium/README.md b/tests/selenium/README.md index a14cccb0fb..6fad6febfe 100644 --- a/tests/selenium/README.md +++ b/tests/selenium/README.md @@ -25,11 +25,17 @@ To run only one file (for example page.js), you first need to spawn the chromedr chromedriver --url-base=/wd/hub --port=4444 +Note: On Windows you may need to use "--url-base=wd/hub" + 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`.