cypress-realworld-testing
cypress-realworld-testing copied to clipboard
Unable to open the cypress runner
Hello, I'm new to cypress and currently in learning phase. Earlier all working fine. I was getting the interest, but suddenly test runner is stop working. I'm getting below error. PS C:\Users\Lenovo\CypressAutomation> npx cypress open (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 (node:16400) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9. (node:16400) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
I tried to fix it by updating the package.json
{ "name": "cypressautomation", "version": "4.2.0", "description": "", "main": "index.js", "scripts": { "test": "echo "Error: no test specified" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "cypress": "^12.17.3", "cypress-iframe": "^1.0.1", "electron": "^9.0.0" } }
But no luck. Can you please help me in this. I stuck from last 6 days.
Apurv
@apurvgoel08
-
It doesn't sound like you are following the course in this repository, so your post here is not the best place to get help.
-
You are also referring to a very old version of Electron and I'm unsure in any case whether you can test Electron applications, as there is an open request https://github.com/cypress-io/cypress/issues/4964 to add this to Cypress.
-
I would suggest you ask the Cypress technical community on Discord for their help and opinions: