You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run in to a problem when I try to use shinytest to test an app where I use shinyMatrix's matrixInput. To reproduce, I've taken the following example app from their GitHub repo:
My guess is that there is something strange going on in the app$setInput call on line 8, so maybe the input to the matrix was not parsed correctly in recordTest? Here is the generated mytest.R where the app$setInput happens:
Not sure if this belongs here or at
shinyMatrix
. Cross-posted as Issue #12.I've run in to a problem when I try to use
shinytest
to test an app where I useshinyMatrix
'smatrixInput
. To reproduce, I've taken the following example app from their GitHub repo:ui.R
:and
server.R
:I then record a test where I just change a number in the input matrix:
This gives the following console output:
The recorded snapshot looks like this:
When I try to run the test, I get error message at the end again:
I've tried to run it in debug mode, but I don't understand what happens in the JavaScript at line 12 in the traceback from the call above:
My guess is that there is something strange going on in the
app$setInput
call on line 8, so maybe the input to the matrix was not parsed correctly inrecordTest
? Here is the generatedmytest.R
where theapp$setInput
happens:The text was updated successfully, but these errors were encountered: