mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-24 06:13:31 +00:00
be08e04309
* What we care about is the <pre>. The class="CodeMirror-line" is added to every <pre>. We don't really learn anything new when we include it in our tests. * Testing the ARIA role is testing a CodeMirror feature, not a feature of the mediawiki mode under test. Change-Id: I33bfedb304228240c4e835cc983117668c398c61 |
||
---|---|---|
.. | ||
pageobjects | ||
specs | ||
.eslintrc.json | ||
fixturecontent.js | ||
highlightingfeatureflag.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]