I'm putting together a proof on concept for my team to make the move from Selenium over to Cypress to do E2E testing. We have front end and back end both in different repos and are deployed and released independently. I am trying to figure out where to install Cypress and what the limitations may be depending on my choice.
Option 1: Install Cypress in the front end repo where I can run the tests against a local build and have the tests run as part of the build.
Option 2: Install Cypress in it's own repo and 'visit' the QA environments URL.
Option 2 would be the preferred method as it wouldn't require code changes from the QA analysts going into the source code repo.
If I go with option 2, what are some the benefits that I'd lose from installing Cypress within the source codes repo?
Thanks
I have watched some videos and followed some tutorials on how to implement Cypress E2E tests and I've noticed that they all show to install in the same repo as the source code, but the topic isn't heavily covered. The tutorials just assume that the tests are being written by a developer as opposed to a QA analyst that has limitations in committing code to the src repo.