experimental fetch polyfill locks a site visit
See original GitHub issueCypress v4.9.0 with experimental fetch polyfill “true”
it('hangs forever', () => {
cy.visit('https://one.clappia.com/', { timeout: 10000 })
cy.get('#loginform > div:nth-child(8) > div > div > button').should('be.visible')
})
Note: the site has a redirect and bunch of canceled ajax calls normally, maybe there is something that locks up XMLHttpRequest polyfill?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Experimental Fetch Polyfill
This application presents two challenges to end-to-end tests. First, the data is random - every time the test visits the page localhost:7080 a ......
Read more >locked/event-source-polyfill - npm package
The npm package @locked/event-source-polyfill was scanned for known vulnerabilities and missing license, and no issues were found. Thus the ...
Read more >Experimental fetch polyfill - YouTube
Instead of stubbing window. fetch we can use the experimental fetch polyfill and built-in Network control to stub or slow down Ajax requests ......
Read more >CSP: require-trusted-types-for - HTTP - MDN Web Docs
The HTTP Content-Security-Policy (CSP) require-trusted-types-for Experimental directive instructs user agents to control the data passed to ...
Read more >Firebase JavaScript SDK Release Notes - Google
Added missing identities field to firebase claim in the typings for the ID token ... Fixed incorrect import of node-fetch polyfill that caused...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@SidharthLala1 This shouldn’t relate to your tests. I happened to be testing your application in the issue and accidentally had the
experimentalFetchPolyfill
configuration on when visiting the app and noticed the behavior was different with the experimental flag on. So, it was a bug that I forwarded to gleb that he then opened to investigate why your app would behave differently with this flag on.It shouldn’t affect your testing since you do not use this experimental flag.
experimentalFetchPolyfill
has been deprecated in Cypress 6.0.0. We will not be addressing any new work on this feature. We encourage you to usecy.intercept()
to intercept requests using the Fetch API instead.