Is there a way to use
ShinyDriver$snapshotDownload in the shinytest package (or another method) to test whether or not the download is successful? I don't need a comparison of differences in the downloaded data/rmarkdown pdf file (and the rmarkdown file throws an error with shinytest comparisons anyway...).
I just want to test is whether any changes to the app cause the downloadHander to fails.
Apologies in advance if there's a clear solution - I didn't see anything in rstudio community and I can't find much documentation for shinytest (especially with regard to downloads).