From 6586f5f29486431157c219d61fcdb5c25c8ca28a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=BDeljko=20Filipin?= Date: Tue, 28 Nov 2017 14:26:42 +0100 Subject: [PATCH] Document how to run just one Selenium test Bug: T139740 Change-Id: Ieb5f27285046c33d77b615159dc2000d80ef644a --- tests/selenium/README.md | 4 ++++ 1 file changed, 4 insertions(+) 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`. -- 2.20.1