You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 withbrowserify
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?
Beta Was this translation helpful? Give feedback.
All reactions