After installing cypress on windows if a user is getting the below error message to open cypress then need to perform step 1 and step 2 to resolve the cypress verification time out issue
Cypress verification timed out.
This command failed with the following output:
C:\Users\Admin\AppData\Local\Cypress\Cache\9.5.2\Cypress\Cypress.exe –smoke-test –ping=952
Command timed out after 100000 milliseconds: C:\Users\Admin\AppData\Local\Cypress\Cache\9.5.2\Cypress\Cypress.exe –smoke-test –ping=952
Timed out
Platform: win32-x64 (10.0.19044)
Cypress Version: 9.5.2
To resolve the above error run below two commands from the command line.
step 1) set CYPRESS_VERIFY_TIMEOUT=100000
step 2) npx cypress verify
✔ Verified Cypress! C:\Users\Admin\AppData\Local\Cypress\Cache\9.5.2\Cypress
After changing the Environment variable value user will be able to open or launch cypress
npx cypress open