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

VCR with use_cassette #160

Open
MUTOgen opened this issue Jun 2, 2024 · 0 comments
Open

VCR with use_cassette #160

MUTOgen opened this issue Jun 2, 2024 · 0 comments
Assignees

Comments

@MUTOgen
Copy link

MUTOgen commented Jun 2, 2024

I’m looking into options to integrate this old PR into the current VCR cassette implementation
The key difference here is how it works with cassettes.

Currently, in master, we’re supposed to insert/eject whatever we need for a test
In this branch, it uses VCR.use_cassette wrapper and cassette_name = graphql_operation_name.

It seems possible to merge both approaches by having more middlewares in CypressOnRails::Railtie and making this logic configurable.

Any objections/concerns?

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

No branches or pull requests

1 participant