It would be interesting to be able to create an app with some url parameters for testing purposes:
app <- shinytest::ShinyDriver(path="path/to/app/", url="/?my_url_parameter=hello")
# Or also during the app testing
app$set_url("/?my_url_parameter=hello_again")
This could help testing shiny bookmarking, which can be challenging for complicated modules, or that url parameters are correctly read.
Integrating this in the recordTest app may be more challenging but I write most of the shiny tests manually and any of the above would be really helpful.
It would be interesting to be able to create an app with some url parameters for testing purposes:
This could help testing shiny bookmarking, which can be challenging for complicated modules, or that url parameters are correctly read.
Integrating this in the recordTest app may be more challenging but I write most of the shiny tests manually and any of the above would be really helpful.