Skip to content

denke8/fetch-origin-missing-reproduction

 
 

Repository files navigation

Cypress bug reproduction

STR

  • run npm run start to bring up static test server and open Cypress

  • Run the test in Chrome (I used 105)

  • Open network inspector, filter to Fetch/XHR requests

  • In the request headers section Origin is missing

  • Remove chromeWebSecurity: false from cypress.config.js

  • Do a full restart!! (automatic reload does not seem to be enough!)

  • Run the same test, origin request header is present

Screenshot is also attached to this repo /Screenshot.png

About

Tiny Cypress E2E test case

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.5%
  • HTML 5.5%