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
My team is trying to integrate our Cypress tests into our GitLab CI pipeline, and we are currently exploring some of Cypress's mocking capabilities. Currently, when testing locally, we run our project in development using a designated test database. We'd like to keep running our tests locally using real API calls, but to use mocked network requests in the pipeline. Has anyone ever architected a Cypress set-up that allows this dual capability?
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
-
My team is trying to integrate our Cypress tests into our GitLab CI pipeline, and we are currently exploring some of Cypress's mocking capabilities. Currently, when testing locally, we run our project in development using a designated test database. We'd like to keep running our tests locally using real API calls, but to use mocked network requests in the pipeline. Has anyone ever architected a Cypress set-up that allows this dual capability?
Beta Was this translation helpful? Give feedback.
All reactions