X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fselenium%2FREADME.md;h=c895a4225a40cd680ecaea01dbf67e6b404cf76f;hb=e47859de415ae61819278d5e83633ce353b2f022;hp=479b9587354be7ef8969357f507d3ed5e373d2b4;hpb=0b88e6fb8c09f92ba5df941e0795121df76e8d9c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/selenium/README.md b/tests/selenium/README.md index 479b958735..c895a4225a 100644 --- a/tests/selenium/README.md +++ b/tests/selenium/README.md @@ -27,8 +27,12 @@ To run only one file (for example page.js), you first need to spawn the chromedr Then in another terminal: - cd mediawiki/tests/selenium - ../../node_modules/.bin/wdio --spec page.js + 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`.