Can't test against firefox after upgrade to v10. Getting "Still waiting to connect to Firefox, retrying in 1 second". #22117
-
After an upgrade to Cypress 10.0.1 (which distinguishes, for the first time, End to End V Component testing) I've successfully migrated my project and can run End to End (e2e) tests in Chrome. But I can't run these in firefox ... > npm test
> testers@1.0.1 test
> npx cypress open
Still waiting to connect to Firefox, retrying in 1 second (attempt 18/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 19/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 20/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 21/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 22/62)
[etc ...] To get that failed result I:
Windows 10 64bit Pro 21H1 (19043.1706) The problem persists under cypress 10.0.2. I have mentioned this at #18919 (comment), but I post here for visibility. Shall I file a bug report or is there some basic thing for me to check first? Can anyone else reproduce this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi, I'm having the same issue as JohnLukeBentley on Cypress v10.0.3. When starting e2e tests on Firefox, the browser opens but does not start cypress and the console outputs: "Still waiting to connect to Firefox, retrying in 1 second..." etc I have run Cypress with debugging enabled and it seems there is an issue finding the browser target: 2022-06-07T14:48:40.987Z cypress:server:browsers:browser-cri-client Attaching to target url about:blank Manually going to the baseURL in the opened browser window (in my case http://192.168.1.107:8081/__/#/specs) does open the cypress specs in Firefox and testing seems to work from this point, however the cypress command line log still fails to connect. Please let me know if there are any other relevant logs which may be of use. WIndows 11 Pro 10.0.22621 Thanks very much!
|
Beta Was this translation helpful? Give feedback.
-
@tomrobst glad to learn I'm not the only one. I too can confirm that when Cypress test runner (firefox browser) opens, and chokes, the address bar is empty (it displays "Search with Google or enter address"); and that manually putting in the right URL (in my case http://127.0.0.1:5500/__/#/specs) opens that cypress specs. And, like you, I can then run my *.cy.js spec without trouble. So that choke point remains between hitting [Start E2E Testing in Firefox] and having the Cypress test runner (firefox browser) open up correctly. Windows: Windows 10 Pro (64bit) 21H1, 19043.1706 |
Beta Was this translation helpful? Give feedback.
-
Thanks @tomrobst. My searching for that issue failed me :(. So we can now close this thread in favour of issue #22086 |
Beta Was this translation helpful? Give feedback.
Thanks @tomrobst. My searching for that issue failed me :(.
So we can now close this thread in favour of issue #22086