Setup a framework for SX / CX e2e test automation.
Current plan is to use Webdriver.io (https://webdriver.io/)
Current status
See: https://phabricator.wikimedia.org/T312543#9586537
- Setup / choose the base / framework for the e2e tests - Webdriver.io @EChukwukere-WMF / @abi_
- Identify and write a few basic tests for CX - @abi_
- Need to update tests to use HTTP interceptors
- Identify and write a few basic tests for SX - @ngkountas
- To ensure that we can test the section translation workflow with webdriver.io
- Ensure that developers are able to run the tests locally.
- Emeka, Nik and I are able to run the tests locally.
- Setup an HTML reporter for showing test results @abi_
- Either setup e2e run on CI or on a periodic basis somewhere else
- Send test reports via email or ensure that they are available on a public URL.
Last updated on 2024-02-29
Previous description:
Set up Cypress to automate content translation workflows as well as SX workflows. The initial phase of this work is to config the tool and include this as part of our repo.
Documentation to get started with: https://docs.cypress.io/guides/overview/why-cypress#What-you-ll-learn
After set up further discussion will be needed to prioritize the workflow to automate for a start