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
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist