cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Long opening time for e2e tests using Electron

Open anchelotti opened this issue 2 years ago • 3 comments
trafficstars

Current behavior

After selecting Electron for e2e tests, loading takes about 5 minutes. No such issue with Chrome and Firefox. Persistent on 11.0 - 11.2.

Screenshot_20221123_114758

Desired behavior

Loading e2e tests with Electron happens faster.

Test code to reproduce

Any e2e test.

Cypress Version

11.2

Node version

16.13.2

Operating System

Kubuntu 20.4

Debug Logs

No response

Other

No response

anchelotti avatar Nov 23 '22 09:11 anchelotti

Hi @anchelotti . I am sorry to hear you are having issues running Cypress.

Right now there doesn't seem to be enough information to reproduce the problem on our end. Unless we receive a reliable reproduction, we'll eventually have to close this issue until we can reproduce it. This does not mean that your issue is not happening - it just means that we do not have a path to move forward. Can you replicate the issue on other OSes or is it specific to Kubuntu?

Please provide a reproducible example of the issue you're encountering. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide.

nagash77 avatar Nov 23 '22 19:11 nagash77

Hi, unfortunately I don't have possibility to reproduce on different OS at the moment. Maybe providing my package.json and package-lock.json might be useful?

anchelotti avatar Nov 25 '22 07:11 anchelotti

I see this same behaviour on Mac OS 12.1 (host) using the cypress/included:11.2.0 docker container. However it only occurs on the first run after cypress open.

simondrabble avatar Nov 25 '22 14:11 simondrabble

@anchelotti can you try forking this repo cypress-test-tiny and creating an example in there and linking to it for ease of debugging on our end? This will help narrow down configuration issues.

nagash77 avatar Nov 28 '22 20:11 nagash77

Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.

nagash77 avatar Dec 05 '22 18:12 nagash77