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
Just to close this, I realized that in some cases I had the same outputId and inputId and that was a problem. Also, I had forgotten to add the Id to the navbarPage.
Thanks for following up! If your question's been answered (even by you!), would you mind marking a post as the solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: