Comments (8)
We've identified the issue, where Firefox changed some of their behavior in an undocumented way in Firefox 124 and have a fix ready in a branch. f8fc8d2 We'll prioritize getting a patch fix out for this tomorrow assuming we can get tests, reviews, etc done.
from cypress.
We're working on getting a release of 13.7.1 out which would have this fixed.
from cypress.
I'm able to reproduce this issue. My logs:
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: 2-advanced-examples/actions.cy.js (2 of 20)
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)
Still waiting to connect to Firefox, retrying in 1 second (attempt 23/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 24/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 25/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 26/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 27/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 28/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 29/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 30/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 31/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 32/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 33/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 34/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 35/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 36/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 37/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 38/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 39/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 40/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 41/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 42/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 43/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 44/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 45/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 46/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 47/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 48/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 49/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 50/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 51/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 52/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 53/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 54/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 55/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 56/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 57/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 58/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 59/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 60/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 61/62)
Still waiting to connect to Firefox, retrying in 1 second (attempt 62/62)
Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Firefox browser.
The CDP port requested was 58731.
Error: Could not find url target in browser about:blank. Targets were []
at <embedded>:4291:96620
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async n (<embedded>:4291:95767)
at async Object.connectToNewSpec (<embedded>:4291:199323)
at async Object.O (<embedded>:4297:7581)
at async Object.connectToNewSpec (<embedded>:4297:27035)
at async v.relaunchBrowser (<embedded>:4363:37912)
Debug logs
Still waiting to connect to Firefox, retrying in 1 second (attempt 35/62)
cypress:server:browsers:browser-cri-client error finding browser target, maybe retrying { delay: 1000, err: Error: Could not find url target in browser about:blank. Targets were [] at <embedded>:4291:96620 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async n (<embedded>:4291:95767) at async Object.connectToNewSpec (<embedded>:4291:199323) at async Object.O (<embedded>:4297:7581) at async Object.connectToNewSpec (<embedded>:4297:27035) at async v.relaunchBrowser (<embedded>:4363:37912) } +2ms
cypress:proxy:http:util:prerequests Never received pre-request or url without pre-request for request GET-https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0 after waiting 500ms. Continuing without one. +21s
cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: 'firefox.settings.services', domain: 'mozilla', tld: 'com' } +21s
cypress:server:remote-states getting remote state: undefined for: https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0 +21s
cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +0ms
cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +0ms
cypress:server:stream_buffer stream buffer writeable final called +21s
cypress:network:agent addRequest called { isHttps: true, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0' } +21s
cypress:network:agent got family { family: 4, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?_expected=0' } +0ms
cypress:server:request received status code & headers on request { requestId: 'request129', statusCode: 200, headers: { 'content-type': 'application/json' } } +21s
cypress:server:request successful response received { requestId: 'request129' } +1ms
cypress:net-stubbing:server:intercept-response InterceptResponse { req: { url: '/v1/buckets/monitor/collections/changes/changeset?_expected=0' }, request: undefined } +21s
cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +11ms
cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +11ms
cypress:server:remote-states getting primary remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } +0ms
cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +1ms
cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +1ms
cypress:proxy:http:util:prerequests Never received pre-request or url without pre-request for request GET-https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179 after waiting 500ms. Continuing without one. +528ms
cypress:network:cors Parsed URL { port: '443', protocol: 'https:', subdomain: 'firefox.settings.services', domain: 'mozilla', tld: 'com' } +516ms
cypress:server:remote-states getting remote state: undefined for: https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179 +516ms
cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +0ms
cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +0ms
cypress:server:stream_buffer stream buffer writeable final called +528ms
cypress:network:agent addRequest called { isHttps: true, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179' } +527ms
cypress:network:agent got family { family: 4, href: 'https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179' } +0ms
cypress:server:request received status code & headers on request { requestId: 'request130', statusCode: 200, headers: { 'content-type': 'application/json' } } +527ms
cypress:server:request successful response received { requestId: 'request130' } +0ms
cypress:net-stubbing:server:intercept-response InterceptResponse { req: { url: '/v1/buckets/main/collections/normandy-recipes-capabilities/changeset?_expected=1710892864179' }, request: undefined } +526ms
cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +10ms
cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +10ms
cypress:server:remote-states getting primary remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } +0ms
cypress:network:cors Parsed URL { port: '59351', protocol: 'http:', subdomain: null, domain: '', tld: 'localhost' } +1ms
cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:59351', strategy: 'file', fileServer: 'http://localhost:59352', domainName: 'localhost', props: null } for: http://localhost:59351 +1ms
cypress:server:browsers:browser-cri-client Attaching to target url about:blank +1s
Still waiting to connect to Firefox, retrying in 1 second (attempt 36/62)
from cypress.
We're investigating this issue.
from cypress.
I could not see anything related in the Firefox 124.0 release notes.
from cypress.
As a workaround, you can use a docker-image with a lower version of Firefox, like Firefox 123 in node-20.11.0-chrome-121.0.6167.184-1-ff-123.0-edge-121.0.2277.128-1.
We've verified this issue is not occurring in Firefox 123.
from cypress.
I already added the Docker workaround to the original post.
I also tested with Firefox 125.0b2
(beta version) and unfortunately the issue is still there.
from cypress.
Released in 13.7.1
.
This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.7.1, please open a new issue.
from cypress.
Related Issues (20)
- Test run summary time is wildly incorrect HOT 1
- Cypress doesn't see e2e.ts files No such file or directory HOT 2
- Cypress blocks my xhr request HOT 7
- Cannot override cy.clock a second time
- After upgrading to 13.7.1, execution in Cypress cloud getting stuck after few spec files , error: This spec does not have any test results because it timed out. HOT 1
- opening tab in test window no longer works - chrome HOT 1
- Support webpack-dev-server v5 in @cypress/webpack-dev-server HOT 5
- Remove support for webpack-dev-server v3 inside @cypress/webpack-dev-server
- Support Angular 18 for Component Testing
- Cypress failing to verify the server is running even when wait-on passes HOT 3
- Specifying specPattern via CLI args doesn't work in component-testing mode
- Cypress is blocking my tests due to human confirmation in any browser HOT 2
- Support Ubuntu 24.04 HOT 3
- cypress cloud filter by shows Jan 1, 1970 - Jan 19, 2038 HOT 1
- Upgrade CircleCI Runner 1.1 variants to 3.0 HOT 1
- If anything but a number is passed as the timeout option on cy.get(), the test never reaches the failure state HOT 4
- cacheAcrossSpecs works in the local test runner UI but fails in the CI/CD pipeline.
- Cypress - Error 400 HOT 4
- My Run is terminating when one testcase is failed HOT 3
- Add an option to ignore preferences files load on browser relaunch HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress.