Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared Workers no longer work after page reload #28248

Closed
ebbejan opened this issue Nov 5, 2023 · 3 comments · Fixed by #28254
Closed

Shared Workers no longer work after page reload #28248

ebbejan opened this issue Nov 5, 2023 · 3 comments · Fixed by #28254

Comments

@ebbejan
Copy link

ebbejan commented Nov 5, 2023

Current behavior

Shared Workers no longer work in E2E tests after a cy.reload().

Steps to reproduce:

  1. Visit page with shared worker
  2. Reload page

The Shared Worker works correctly when the page is initially loaded. The error only occurs after the reload.

Only the latest Chrome versions (tested with 119) seem to be affected. The problem does not occur in Firefox 119.

Desired behavior

Shared workers continue to function correctly in E2E tests even after a page reload.

Test code to reproduce

Minimal example: https://github.com/ebbejan/cypress-shared-worker

Cypress Version

13.4.0

Node version

20.9.0

Operating System

Windows 11 Pro, Version: 22H2, Build: 22621.2428

Debug Logs

No response

Other

No response

@jennifer-shehane
Copy link
Member

@ebbejan Thank you for the reproducible example. I can see the test you provided is failing starting in 13.3.3. I'd suggest downgrading to 13.3.2 for the time being while we investigate.

@ryanthemanuel
Copy link
Collaborator

@ebbejan the fix on #28254 should resolve your issue. We are hoping to have that released in the next few days.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 8, 2023

Released in 13.5.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.5.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants