We would like to run Cypress tests on a machine that has no connection to the Internet. The machine runs an Ubuntu 22.04.5LTS operating system.
Steps to reproduce:
On an Ubuntu machine with Internet access:
-
Run “npm install cypress –save-dev” to install cypress (current version 13.17.0) on the machine.
-
Run “npx cypress open”: Cypress app can be opened
-
Copy the parent folder where npm install was executed and the Cypress cache under “~/.cache/Cypress/13.17.0” to a similar Ubuntu machine without internet access. It was placed under the same folder structure on the target machine.
On the Ubuntu machine without Internet access:
- Run “npx cypress open”: Cypress app starts up but is stuck on the first loading screen (see image: Cypress loading screen)
Is there any way to open/run Cypress (13.17.0) without any connection to the Internet? Are we missing any files required to open Cypress?