-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testApp fails with shinyBS #144
Comments
I get the same error with this app using shinyBS:
and this test script:
The result is similar to the error above:
I am using shinytest v1.3.1 in R 3.6.0 |
+1 on this. ShinyBS collapse panels dont seem to work well with shinytest:
#and get the error R 3.4.4 |
A workaround for Here is a hidden select input:
Some panels:
Create an observer to update the active panel when select input is changed:
Run tests by manipulating hidden input:
|
This requires changes in shinyBS — you can see what learnr needed to fix the same problem at rstudio/learnr#407. |
Testing my shiny app throws an error when I open a dialog (using shinyBS):
here is my
test.R
:The code to open the dialog is:
The dialog is in a separate module and to support multiple languages I use
uiOutput(...)
to change labels on the fly.Any recommendations how to debug this error? (again :-)
The text was updated successfully, but these errors were encountered: