mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Merge "Selenium: update README.md file"
This commit is contained in:
commit
7e8cf0d101
|
@ -1,25 +1,13 @@
|
|||
# Selenium tests
|
||||
|
||||
For more information see https://www.mediawiki.org/wiki/Selenium/Node.js and [PATH]/mediawiki/vagrant/mediawiki/tests/selenium/README.md.
|
||||
For more information see https://www.mediawiki.org/wiki/Selenium
|
||||
|
||||
## Setup
|
||||
|
||||
Set up MediaWiki-Vagrant:
|
||||
|
||||
cd [PATH]/mediawiki/vagrant/mediawiki/extensions/AbuseFilter
|
||||
vagrant up
|
||||
vagrant roles enable abusefilter
|
||||
vagrant provision
|
||||
npm install
|
||||
|
||||
Chromedriver has to run in one terminal window:
|
||||
|
||||
chromedriver --url-base=wd/hub --port=4444
|
||||
See https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/AbuseFilter
|
||||
|
||||
## Run all specs
|
||||
|
||||
In another terminal window:
|
||||
|
||||
npm run selenium-test
|
||||
|
||||
## Run specific tests
|
||||
|
|
Loading…
Reference in a new issue