Shinytest error (renderUI)


#1

Hello

I want to use shinytest in an app but I get this error:

Running mytest.R Error in session_makeRequest(self, private, endpoint, data, params, headers) :
Unable to find input binding for element with id OrganismLifestage

This error appears when I test the inputs related with renderUI()/htmlOutput()

I can not find out how to solve this, I only tried adding Sys.sleep() in the test.R file but it does not work

Thank you!


#2

Are you using shinydashboard by any chance?

Otherwise, can you provide a minimal reproducible example of the problem?


#3

No, I am not using shiny dashboard...

shiny_1.1.0

shinytest_1.3.0


#4

Can you tell us what OrganismLifestage corresponds to in your code? I assume it's some sort of input, but more details would be helpful.