Selenium: update README.md file

Bug: T282237
Change-Id: I93d7538bf191e42460e5d54532f6775a05dac661
This commit is contained in:
sahil 2021-05-07 18:44:36 +05:30
parent 5e2c99ca7c
commit 96706a53fd

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