mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Selenium: update README.md file
Bug: T282237 Change-Id: I93d7538bf191e42460e5d54532f6775a05dac661
This commit is contained in:
parent
5e2c99ca7c
commit
96706a53fd
|
@ -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