Skip to content

VCR with use_cassette #160

Open
Open
@MUTOgen

Description

@MUTOgen

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions