iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://phabricator.wikimedia.org/T227879
⚓ T227879 Bug: Qunit tests should not be ignored
Page MenuHomePhabricator

Bug: Qunit tests should not be ignored
Closed, ResolvedPublic2 Estimated Story Points

Description

It looks like some Qunit tests are not being executed anymore as a result of changes to resource modules list introduced in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralNotice/+/512429 , specifically - the onResourceLoaderTestModules at CentralNoticeHooks.php:409 when searching for test files implies that module has a scripts property but with newly added packageFiles replacement this is not true anymore for ext.centralNotice.display and hence tests/qunit/subscribing/ext.centralNotice.display.tests.js and tests/qunit/subscribing/ext.centralNotice.display.chooser.tests.js are not being included into Qunit tests list, which could lead to false positive CI status.

Event Timeline

DStrine set the point value for this task to 2.Jul 15 2019, 7:36 PM
DStrine moved this task from Triage to Sprint +1 on the Fundraising-Backlog board.
AndyRussG changed the point value for this task from 2 to 1.
AndyRussG changed the point value for this task from 1 to 2.Jul 30 2019, 10:19 PM
mepps renamed this task from Some of Qunit tests are ignored to Bug: Qunit tests should not be ignored.Aug 2 2019, 2:52 PM

Change 527861 had a related patch set uploaded (by AndyRussG; owner: AndyRussG):
[mediawiki/extensions/CentralNotice@master] Fix and reorganize QUnit tests

https://gerrit.wikimedia.org/r/527861

Change 527861 merged by jenkins-bot:
[mediawiki/extensions/CentralNotice@master] Fix and reorganize QUnit tests

https://gerrit.wikimedia.org/r/527861