Getting "Cypress has crashed" while running spec files with admin permission #25497
Unanswered
sarthak-verma-bcg
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Due to some security issue, I have to run everything as administrator. If I don’t run it as admin then I get the following error-
“This program is blocked by group policy. For more information, contact your system administrator.”
Now that I run it as admin, I'm getting the following error-
[14116:0118/112738.949:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[14116:0118/112738.950:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
After going through some of the threads from 2019-2020, I found a workaround by specifying an environment variable- $env:ELECTRON_EXTRA_LAUNCH_ARGS="--disable-gpu-sandbox"
Following that I'm able to launch cypress after this. But now that I have launched cypress, while running any spec file, the browser is crashing and I'm unable to execute any testcase.
Beta Was this translation helpful? Give feedback.
All reactions