We have separate repos for the backend and the front end. The backend which is just microservices has its unit tests(jest), microservice integration tests(jest), and microservice end-to-end tests(jest).
The front-end has the unit tests(jest) and application end-to-end tests(cypress).
Now, when there is a release for a specific microservice, I am guessing we should still ideally be running application end-to-end tests in addition to the tests from the backend repository. Given we are planning to write them in the front-end repository, what's the right way to go about it?
Given that the front-end and back-end are in separate repositories, we have separate CI/CD pipelines for both.
- Should Application end-to-end tests have a repository of their own (I do not think that is the right way) Or
- we should configure our CI/CD pipeline to pull code from the front-end repository as well when deploying the backend to run the application end-to-end tests. or any other recommendations?