dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6a9af
)
Document how to run just one Selenium test
author
Željko Filipin
<zeljko.filipin@gmail.com>
Tue, 28 Nov 2017 13:26:42 +0000
(14:26 +0100)
committer
Željko Filipin
<zeljko.filipin@gmail.com>
Tue, 28 Nov 2017 13:26:42 +0000
(14:26 +0100)
Bug: T139740
Change-Id: Ieb5f27285046c33d77b615159dc2000d80ef644a
tests/selenium/README.md
patch
|
blob
|
history
diff --git
a/tests/selenium/README.md
b/tests/selenium/README.md
index
a14cccb
..
c895a42
100644
(file)
--- 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`.