Page MenuHomePhabricator

Consider breaking up EditFunction and CreateNewFunction FE integration tests
Open, Needs TriagePublic

Description

Description

These tests are currently extremely long, and test several edge cases. We should consider pulling the edge cases into separate files, and restricting these files to the most likely user actions.

See:
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiLambda/+/refs/heads/master/tests/jest/integration/CreateNewFunction.test.js
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiLambda/+/refs/heads/master/tests/jest/integration/EditFunction.test.js


Completion checklist

Event Timeline

Change 864811 had a related patch set uploaded (by Dani DW; author: Dani DW):

[mediawiki/extensions/WikiLambda@master] Break out edge cases from the main EditFunciton and CreateNewFunction integration tests.

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