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
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Sometimes users want to conditionally stub network calls, for example when running on local environment. They could do something like this
We could make user's life a little easier. First, even now we can show an example like this
Second, we could use
Cypress.env('ENVIRONMENT')
as another check, similar to platform. Thus we could sayand have
onlyOn
andskipOnly
checkCypress.env('ENVIRONMENT')
variable and if it exists and matches given value do their function.The text was updated successfully, but these errors were encountered: