Ensure tests run against the review app server #4991
Labels
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
small story
tooling
What
Have tests check that the server running on port 3000 is actually the review app and either, if not the review app:
Choice would depend on the complexity of implementation of 2 and time available. 1. would already provide some us some safety that we run against the right server rather wasting time looking at a flurry of errors.
Why
Before starting a server with the review app, our tests check if anything's running on port 3000. However, they don't check if that server is actually the review app, which may lead to the tests running against another server entirely if the developer has other projects running on their machine (and lots of tests failing). We should make sure tests run against the appropriate server.
Who needs to work on this
Developers
## Who needs to review this
Developers
## Done when
Either
The text was updated successfully, but these errors were encountered: