Page MenuHomePhabricator

Stylesheets should not both specify "media" and contain @media
Closed, ResolvedPublic

Description

I uploaded a patch set for the Disambiguator extension, and there was an unrelated test failure, apparently caused by the Metrolook skin. This should be fixed.

06:46:12 1) ResourcesTest::testStyleMedia with data set #21 ('skins.metrolook.styles.responsive', 'screen', 'screen.mobile.less', stdClass)
06:46:12 Stylesheets should not both specify "media" and contain @media
06:46:12 Failed asserting that false is true.
06:46:12 
06:46:12 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/structure/ResourcesTest.php:36
06:46:12 /mnt/jenkins-workspace/workspace/mwext-testextension-zend/src/tests/phpunit/MediaWikiTestCase.php:137

Event Timeline

PleaseStand raised the priority of this task from to Needs Triage.
PleaseStand updated the task description. (Show Details)
PleaseStand added a project: Metrolook.
PleaseStand subscribed.

And could be to do with extension-unittests-generic test added recently to metrolook.

Not sure how to fix this problem.

Will be fixed when the Jenkins jobs mw-testextension* are moved to Nodepool instance. There will be no more any leftover from previous build.

@hashar but this fails on the skins tests for example the Metrolook one. Probably want to skip this one on the skins test please.

hashar claimed this task.

The original issue got fixed when migrating jobs to Nodepool which starts with an empty workspace. Hence there is no more an unrelated skin/extension left behind from a previous build.