Page MenuHomePhabricator

VisualEditor tests fail in target agnostic mode
Closed, ResolvedPublic1 Estimated Story Points

Description

The patch from @Krinkle https://gerrit.wikimedia.org/r/#/c/216886/ forces all tests to run regardless of whether they are target desktop or mobile. This patch is ready to be merged but several tests fail [1] preventing it from doing so. All of which live in VisualEditor.

I suspect they are written to expect the Minerva/Vector interface and might need a few additional steps added to module setup so assertions can be met.

  • ve.dm.MWImageModel Create and manipulate image nodes
  • ve.ce.Surface (MW) handleLinearDelete
  • ve.ce.ContentBranchNode (MW) getRenderedContents
  • ve.ui.FormatAction (MW) convert (MW-specific types)
  • ve.init.mw.ViewPageTarget compatibility

[1] https://integration.wikimedia.org/ci/job/mediawiki-extensions-qunit/5377/console

Event Timeline

Jdlrobson claimed this task.
Jdlrobson raised the priority of this task from to Low.
Jdlrobson updated the task description. (Show Details)

They seem to be failing due to Error: Unfinished animations: 1

Change 227745 had a related patch set uploaded (by Esanders):
Disable scroll animation when running tests

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

Change 227751 had a related patch set uploaded (by Esanders):
Make scrollIntoView a VE utility function

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

Change 227745 abandoned by Esanders:
Abort scroll animations on teardown

Reason:
Cleaner fix in core Id9b460

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

Change 227751 merged by jenkins-bot:
Make scrollIntoView a VE utility function

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

Thanks for the speediness. Looks like there is one remaining problem:
ve.dm.** several FAILED: Unfinished AJAX request.