馃悰 [Bug] Fix cypress for local development
Created by: Tirokk
Authored by mattwr18 Closed
馃悰 Bugreport
Cypress is not importing environment variables necessary to connect to Neo4j
properly when using without Docker
.
Most developers on the team don't use Docker
for development, so cypress should work without the need to start Docker
all the time.
Steps to reproduce the behavior
- with the
webapp
andbackend
servers running - run
yarn cypress:open
from the root path - see that it fails in the
beforeEach
hook trying to connect to the database and runcleanDatabase
for authentication issue - Profit