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

Enable cy.fixture to pass encoding for images #373

Closed
brian-mann opened this issue Jan 9, 2017 · 1 comment
Closed

Enable cy.fixture to pass encoding for images #373

brian-mann opened this issue Jan 9, 2017 · 1 comment
Assignees
Labels
type: enhancement Requested enhancement of existing feature
Milestone

Comments

@brian-mann
Copy link
Member

brian-mann commented Jan 9, 2017

Currently even though we accept encoding argument for cy.fixture, we hardcode in base64 when the fixture references an image.

It's possible you may need to send the image as a different encoding type.

In other words this should work:

cy.fixture("my/image.png", "binary")
@brian-mann
Copy link
Member Author

Fixed in 0.18.5.

@brian-mann brian-mann self-assigned this Jan 9, 2017
@brian-mann brian-mann added the type: enhancement Requested enhancement of existing feature label Jan 9, 2017
@brian-mann brian-mann added this to the 0.18.5 milestone Jan 9, 2017
@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

1 participant