mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-18 00:30:30 +00:00
d1863e4d0b
This legacy CM5 test has always been flaky and is now consistently failing. It can be reinstated with T357482, or not at all, seeing as bracket matching is a core extension in CodeMirror 6 and probably doesn't need a dedicated test on top of what's upstream. Change-Id: I77362c1c47be902cc888682aae926154470f1a56 |
||
---|---|---|
.. | ||
pageobjects | ||
specs | ||
.eslintrc.json | ||
fixturecontent.js | ||
README.md | ||
userpreferences.js | ||
wdio.conf.js |
Selenium tests
For more information see https://www.mediawiki.org/wiki/Selenium
Setup
See https://www.mediawiki.org/wiki/Extension:CodeMirror
Run all specs
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]