Skip to content

(bug) update button fails due to socket-io CORS #163

Open
@DamienChing

Description

@DamienChing

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Click on 'COMPARE SNAPSHOT'
  2. Click on 'Update Snapshot'

Expected behavior
A clear and concise description of what you expected to happen.

Temp Solution (does not work for firefox)
add "chromeWebSecurity": true to cypress.json

Permanent Solution
you probably want upgrade socket-io and enable cors for all origins.
socket-io <2.4 had this enabled by default, but socket-io 2.2.0 had a bug where this was broken.
socketio/socket.io#3381
image

Screenshots
image
image

Desktop (please complete the following information):

  • OS: OSX Big Sur
  • Cypress Version: 4.5.0+

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions