The error message is "Tried to WS_OPEN but already have a websocket". If you're a user who is encountering this, remove options(shiny.autoreload=TRUE) from your app and re-record the test.
This happens because autoreload is implemented by opening a second websocket to the server. shinytest records this, and shinycannon doesn't know what to make of two websockets being opened.
We should fix this by having shinytest skip recording the autoreload websocket, but it might also be good for shinycannon to detect and ignore WS_OPEN where the url is "/autoreload/".
The error message is "Tried to WS_OPEN but already have a websocket". If you're a user who is encountering this, remove
options(shiny.autoreload=TRUE)
from your app and re-record the test.This happens because autoreload is implemented by opening a second websocket to the server. shinytest records this, and shinycannon doesn't know what to make of two websockets being opened.
We should fix this by having shinytest skip recording the autoreload websocket, but it might also be good for shinycannon to detect and ignore WS_OPEN where the
url
is"/autoreload/"
.