Comments (1)
@francllinrios Cypress has a proxy that pulls all the headers off of the requests and resets them (if needed). This erroring is surfacing that there is an invalid HTTP header since this error is being thrown when we set it from Node's https://www.geeksforgeeks.org/node-js-http-validateheadername-method/
If this is your website: http://salesportalcli.hml.prodatamobility.com.br/
, you have an invalid HTTP header that your setting and those requests will silently not go through. You need to remove the extra character in the expires
header to fix this. So this is highlighting a bug on that website.
That being said, Cypress should handle this better. Perhaps we should validate that the HTTP headers are correct before resetting them? Or just catch and ignore and errors that are thrown here? Probably second option makes more sense. https://github.com/cypress-io/cypress/blob/fix-flake-on-launchpad-ui/packages/proxy/lib/http/response-middleware.ts#L332
from cypress.
Related Issues (20)
- Flaky test: Screenshot Timeout system test in Firefox
- Difficulty Typing in Cypress Tests for Custom Elements with Shadow DOM HOT 2
- Cypress.require() works only if give absolute path HOT 1
- Unable to select text within span HOT 2
- Cypress & Chrome Test Third Party Cookie Phase Out HOT 4
- Can't install an npm package because the server considers me a bot (403 forbidden via 4G) HOT 4
- timeouts with upgrade to >=13.6.3 HOT 8
- Why does cypress keep loading pages? HOT 1
- cy.session: validate function fails when expanding the log on Test Runner UI sidebar while the test is still running HOT 1
- Scaffolded example specs fail recommended Cypress linting `cypress/no-unnecessary-waiting` HOT 1
- Versions ^13.6.2 fail to run with ts-node swc, but versions 13.6.1 and below succeed. HOT 1
- Versions ^13.6.2 fail to run with ts-node swc, but versions 13.6.1 and below succeed.
- example.cypress.io deploys are broken HOT 2
- The "config" argument is required and must be of type Object.
- Missing fail function from chai expect
- Unable to handle uncaught:exception within test
- Cypress Test Occasionally Fails Due to Minor Image Differences With Animation Disabled HOT 2
- Cy Cloud: Filter on Latest runs sets itself to Jan 1, 1970 - Jan 19, 2038 HOT 1
- Chore: Require @packages/example to be reviewed before deployment HOT 3
- Navigate.Share User Action Not Supported by Cypress Activation Events HOT 1
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.