dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Warn if stateful ParserOutput transforms are used"
[lhc/web/wiklou.git]
/
tests
/
selenium
/
README.md
diff --git
a/tests/selenium/README.md
b/tests/selenium/README.md
index
a14cccb
..
1628377
100644
(file)
--- a/
tests/selenium/README.md
+++ b/
tests/selenium/README.md
@@
-23,13
+23,17
@@
Set up MediaWiki-Vagrant:
To run only one file (for example page.js), you first need to spawn the chromedriver:
To run only one file (for example page.js), you first need to spawn the chromedriver:
- chromedriver --url-base=
/
wd/hub --port=4444
+ chromedriver --url-base=wd/hub --port=4444
Then in another terminal:
cd tests/selenium
../../node_modules/.bin/wdio --spec specs/page.js
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`.
The runner reads the config file `wdio.conf.js` and runs the spec listed in
`page.js`.