Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CYPRESS_PLAYBACK_MODE=passthrough #93

Open
pixelpax opened this issue May 10, 2023 · 1 comment
Open

CYPRESS_PLAYBACK_MODE=passthrough #93

pixelpax opened this issue May 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pixelpax
Copy link

Is your feature request related to a problem? Please describe.
When play-testing and tweaking an API change (fullstack app), sometimes devs on my team might overwrite tests recordings during experiment, move onto something else, then not notice that they changed fixtures unintentionally.

Describe the solution you'd like
it'd be nice to have a CYPRESS_PLAYBACK_MODE=passthrough, to avoid intercepting, but not actually do recording until we're explicitly ready.

Describe alternatives you've considered
For now, we just run on recording mode when we "thru-test" locally and delete fixtures manually. I'd prefer to only commit changes to fixtures through a separate, deliberate process.

@pixelpax pixelpax added the enhancement New feature or request label May 10, 2023
@DigTheDoug
Copy link
Contributor

Sorry about the late response, I missed this issue alert.

Just to make sure I understand what your use case is, you would want an option that essentially turns off the actual functionality while you're developing, so it neither intercepts and responds with the fixture nor records new results, because you are making and testing changes to the actual API response? So basically a main off switch so you don't have to either delete fixtures or comment out the playback() calls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants