This project currently lacks end-to-end testing. As a result, we could miss bugs that only appear when multiple components interact.
We previously added the initial Cypress setup with WP Cypress and Cucumber in #3, however we no longer plan to use Cucumber so need to update this, rewrite any existing tests and add new tests to obtain the level of coverage we desire.
Goals:
- Update Cypress config to remove Cucumber
- Remove any Cucumber related files and code
- Re-write any existing tests to use Cypress without Cucumber
- Add new tests
- Integrate with CI/CD to ensure tests run on every pull request/update via our existing CI/CD pipeline
- Update any relevant readme files or wikis with information about how to run and add new tests
Tests to consider:
Other considerations:
- How can we create a seeder which inputs release notes with accurately formatted post-content and any required metadata?