Context
We currently have a suite of end-to-end (E2E) tests that run on every patch merge request. We'd like to add test cases for the 7 critical user journeys (CUJs).
User flow
- Find a function and navigate to its function page
- Go to add an implementation of the function
- Select whether to create a function composition (as opposed to code)
- Create the function call that will result in this composition
- Publish my updates
- Visualize my implementation successfully saved
- IF ERROR: Visualize tester saving errors in a clear way for me to correct and re-save
Hints
- code location for tests: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiLambda/+/refs/heads/master/tests/selenium/
- information on Selenium testing on MediaWiki: https://www.mediawiki.org/wiki/Selenium