It appears as though most of the qunit tests registered for WikibaseLexeme are not running locally or in CI. Upon further inspection it appears that only the first test file registered through the QUnitTestModule option in extension.js is running.
Attempting to break the tests by removing parts of the test code also seems to not affect CI runs either. See patch 631190 for more info.
MediaWiki conditions:
- WikibaseLexeme installed
- Set $wgEnableJavaScriptTest to true in LocalSettings.php
To reproduce:
- Clone the broken tests patchset.
- Run the QUnit tests by going to Special:JavascriptTest in your local wiki OR by running npm run qunit in you mediawiki installation root directory
- Filter the test output for modules the should be registered with lexeme.
Current behaviour:
- Tests are not failing with broken test example
- Not all registered tests appear in the test result output.
Desired behaviour:
- Tests are failing with broken test example
- All registered test modules appear in the test result output.