We are trying to setup our app cypress tests so that it spins up a container for our API server allowing us to test our app and api end to end however we are running into some issues.
We have tried testcontainers, however this errors on cypress tests and it's not compatible with browserify which cypress relies on.
We also thought about spinning up the container before running the tests but then we have no control over the container and no way of resetting the database in the container between each test.
Maybe we are thinking about this wrong and this is not the correct way to use cypress?
Aucun commentaire:
Enregistrer un commentaire