Merge "Selenium: update README.md file"

This commit is contained in:
jenkins-bot 2021-05-18 15:45:15 +00:00 committed by Gerrit Code Review
commit 7e8cf0d101

View file

@ -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