rstudio / shinytest

Automated testing for shiny apps
https://rstudio.github.io/shinytest/
Other
225 stars 55 forks source link

snapshot after clicking a download button fails on subsequent test #365

Open dcaud opened 4 years ago

dcaud commented 4 years ago

First, run a test which includes a download button followed by a snapshot. Then, re-run that test. Show/compare changes. Then it fails and gives an error with something like:

Error in rawToChar(data) : 
  embedded nul in string: 'PK\003\004\024\0\b\b\b\0\xbakbQ\0\0\0\0\0\0\0\0\0\0\0\0\v\0\0\0_rels/.rels\xad\x92\xcdJ\0031\020\x80\xe

etc.

Sorry, I don't have time to make a reprex