ItamarWMDE created this task.
ItamarWMDE added projects: Wikidata, Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  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`.
  
  Attempting to break the tests by removing parts of the test code also seems 
to not affect CI runs either.  See patch 631190 
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseLexeme/+/631190> 
for more info.
  
  **MediaWiki conditions:**
  
  - WikibaseLexeme installed
  - Set `$wgEnableJavaScriptTest` to `true` in `LocalSettings.php`
  
  **To reproduce:**
  
  1. Clone the broken tests patchset 
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseLexeme/+/631190>.
  2. 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
  3. Filter the test output for modules the should be registered with 
//**lexeme**//.
  
  **Current behaviour:** Not all registered tests appear in the test result 
output.
  
  **Desired behaviour:** All registered test modules appear in the test result 
output.

TASK DETAIL
  https://phabricator.wikimedia.org/T264207

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: Aklapper, ItamarWMDE, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to