Skip to content

File modified by attachFile? #25935

Discussion options

You must be logged in to vote

To answer my own question, attachFile is a method from the cypress-file-upload package, and the encoding of the file had to be set manually to 'binary' in order for the file not to be mangled.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rswerve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant