Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open the cypress runner #313

Open
apurvgoel08 opened this issue Aug 7, 2023 · 1 comment
Open

Unable to open the cypress runner #313

apurvgoel08 opened this issue Aug 7, 2023 · 1 comment

Comments

@apurvgoel08
Copy link

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 electron/electron#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

@MikeMcC399
Copy link
Contributor

@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 Add support for testing Electron.js applications cypress#4964 to add this to Cypress.

  • I would suggest you ask the Cypress technical community on Discord for their help and opinions:

Discord chat
(click on button)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants