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 "WikiPage: Avoid locking comment and actor tables in doDeleteArticleReal"
[lhc/web/wiklou.git]
/
tests
/
selenium
/
README.md
diff --git
a/tests/selenium/README.md
b/tests/selenium/README.md
index
c895a42
..
b15d407
100644
(file)
--- a/
tests/selenium/README.md
+++ b/
tests/selenium/README.md
@@
-21,9
+21,14
@@
Set up MediaWiki-Vagrant:
npm run selenium
npm run selenium
+By default, Chrome will run in headless mode. If you want to see Chrome, set DISPLAY
+environment variable to any value:
+
+ DISPLAY=:1 npm run selenium
+
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:
Then in another terminal:
@@
-37,14
+42,14
@@
To run only one test (name contains string '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`.
-The defaults in the configuration files aim are target
ting
a MediaWiki-Vagrant
-installation on
installation on
http://127.0.0.1:8080 with a user Admin and
-password 'vagrant'. Those settings can be overriden using environment
+The defaults in the configuration files aim are target
ing
a MediaWiki-Vagrant
+installation on http://127.0.0.1:8080 with a user Admin and
+password 'vagrant'. Those settings can be overrid
d
en using environment
variables:
`MW_SERVER`: to be set to the value of your $wgServer
variables:
`MW_SERVER`: to be set to the value of your $wgServer
-`MW_SCRIPT_PATH`: ditto with
$wgScriptPath
-`MEDIAWIKI_USER`: username of an account that can create users on the wiki
.
+`MW_SCRIPT_PATH`: ditto with $wgScriptPath
+`MEDIAWIKI_USER`: username of an account that can create users on the wiki
`MEDIAWIKI_PASSWORD`: password for above user
Example:
`MEDIAWIKI_PASSWORD`: password for above user
Example: