Open AteqEjaz opened 2 years ago
I vaguely remember having this problem with localhost but can't remember how (if) I ever solved it. I found this link in my notes though: https://stackoverflow.com/questions/71363236/cypress-and-cypress-metamask-plugin-issue-connect-econnrefused-127-0-0-19222
make sure you set CYPRESS_REMOTE_DEBUGGING_PORT=9222
in your ENV file (or just set the env variable to that before running yarn cy:open
.
Just added your plugin in cypress and when run test it shows following error
request to http://localhost:9222/json/version failed, reason: connect ECONNREFUSED ::1:9222
Any thoughts?
thanks.