Hi all, I am following the instructions from this link (https://mran.microsoft.com/snapshot/2018-02-12/web/packages/RSelenium/vignettes/shinytesting.html#rselenium-testing-shiny-apps)
to test the applications. It says we need to run the below code to run a basic R file. But i am getting following error. Can anyone guide me please
test_dir(paste0(find.package("RSelenium"), "/apps/shinytestapp/tests/"), filter = 'basic', reporter = "Tap")
1..1
# Context basic
not ok 1 (unknown)
Undefined error in httr call. httr output: Failed to connect to localhost port AAAA: Connection refused
Backtrace:
1. remDr$open(silent = TRUE) apps/shinytestapp/tests/test-basic.r:12:0
2. RSelenium:::queryRD(qpath, "POST", qdata = serverOpts)
3. RSelenium:::checkError(res)