rstudio / shinytest

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

Testing units with flexdashboard #403

Open glaf13 opened 3 years ago

glaf13 commented 3 years ago

Hi! I currently work on a Shiny dashboard using the flexdashboard package, where I have multiple tabs, written like this inside the .Rmd file, and that looks like this at the top:

Summary
=======================================================================

image

When I use the app, I am able to select the different tabs, "Summary" being the default one. However, when I start using the testing units, I am unable to select/switch between tabs. With a ShinyDriver$ command. I am only able to see the "Summary" one (it being the default one). Do you have an idea on how I could select another tab? Thanks in advance!