Page MenuHomePhabricator

VisualEditor JavaScript and tests should only be added if VisualEditor is installed
Closed, ResolvedPublic

Description

According to Antoine when he runs the tests using the following extensions together:

  • JsonConfig
  • Mantle
  • MobileApp
  • MobileFrontend
  • WikiGrok
  • ZeroBanner
  • ZeroPortal

This yields two failures:

ResourcesTest::testMissingDependencies
The module 'ext.visualEditor.mobileViewTarget' required by
'mobile.editor.ve' must exist
Failed asserting that an array contains 'ext.visualEditor.mobileViewTarget'.

ResourcesTest::testUnsatisfiableDependencies
Undefined index: ext.visualEditor.mobileViewTarget

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Web-Team-Backlog.
Jdlrobson changed Security from none to None.
Jdlrobson subscribed.

Change 181403 had a related patch set uploaded (by Florianschmidtwelzow):
Don't add VisualEditor related modules if VE isn't installed

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

Patch-For-Review

Change 181403 merged by jenkins-bot:
Don't add VisualEditor related modules if VE isn't installed

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