The project I’m working on has Cypress tests for the E2E testing of an app sat within the same repo of the actual app code. However, it has been set up such that these tests are being run against an environment deployment of the app rather than against the localhost version.
I’ve been asked to add test coverage for metric purposes, but from what I believe, this can/should only be done when testing against the local code as testing against an environment won’t have access to the code itself.
Can anybody advise here?
1