Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F29602051
raw.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
zeljkofilipin
Jun 18 2019, 12:22 PM
2019-06-18 12:22:42 (UTC+0)
Size
764 B
Referenced Files
None
Subscribers
None
raw.txt
View Options
# Selenium tests
For more information see https://www.mediawiki.org/wiki/Selenium/Node.js and [PATH]/mediawiki/vagrant/mediawiki/tests/selenium/README.md.
## Setup
Set up MediaWiki-Vagrant:
cd [PATH]/mediawiki/vagrant/mediawiki/extensions/[EXTENSION]
vagrant up
vagrant roles enable [ROLE]
vagrant provision
npm install
Chromedriver has to run in one terminal window:
chromedriver --url-base=wd/hub --port=4444
## Run all specs
In another terminal window:
npm run selenium-test
## Run specific tests
Filter by file name:
npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME]
Filter by file name and test name:
npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME] --mochaOpts.grep [TEST-NAME]
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7652494
Default Alt Text
raw.txt (764 B)
Attached To
Mode
P8206 tests/selenium/README.md
Attached
Detach File
Event Timeline
Log In to Comment