How to Clear all cache files in Cypress:-
Main Reason of cache clear is to make Cypress more fast.
Run Cypress in Open mode.
Click on file.
Click on View App Data.
Select all files (Ctrl+A).
Delete all files (Shift+Delete).
Your all Cache files are deleted . Now Open Your Cypress again & Now it will be faster than previous.
Cypress verification timed out after 30000 milliseconds:
Sometimes we install a new Cypress Version and its not working .It shows some errors during verification,Then try this method.
It looks like this is your first time using Cypress: 7.5.0
Cypress verification timed out.
This command failed with the following output:
C:\Users\Nabi\AppData\Local\Cypress\Cache\7.5.0\Cypress\Cypress.exe –smoke-test –ping=979
Command timed out after 30000 milliseconds: C:\Users\Nabi\AppData\Local\Cypress\Cache\7.5.0\Cypress\Cypress.exe –smoke-test –ping=979
Platform: win32 (6.3.9600)
Cypress Version: 7.5.0
(1) Open your Terminal
Run anyone of these commands:
npm cache clean --force
- npm cache clear –force
- npm cache rm –force
Now, Verify cache:
npm cache verify
Leave a comment