-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cypress can not work with SSE #24284
Comments
@Hangochung81 Cypress should support server side events (SSE). Can you please provide a small reproduction repo that shows this problem? I am not able to access the URL provided because it is behind a log in. Unless we receive a reliable reproduction, we'll eventually have to close this issue until we can reproduce it. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. |
This is the account which you can use to login to reproduce: email: [email protected] OR the script for reproduce:
Please have me check, thank you a lot. |
@warrensplayer Could you reproduce this issue? |
@Hangochung81 Thank you for providing access to the website as well as the test script for reproduction! |
Thank you so much! please let me know if you need any supporting. |
@Hangochung81 Looks like the issue is stems from the way Looks like this is an ongoing issue with angular projects that use EventSource: Yaffle/EventSource#143 As it turns out the "https://console.metaaccess-b.opswat.com/inventory/devices/all" website is also based on an angular project. Would it be possible to follow some of the options mentioned in the issue above, and not use |
Hi @amehta265 , I have followed some of the options mentioned in the issue above but it doesn't work, when I don't use EventSource, it works (the website can load the list). Since the EventSource in the project can not be removed, do you have any plan in the future to fix this issue? |
Thank you for your response. We are looking into a work around and hopefully should find some resolution soon |
I'm just catch up in this conversation. Note for those of us working on it: I wonder if it's connected to HTTP/2 support, #3708, based on this warning in the MDN docs for EventSource:
Several EventSource issues are mentioned in the comments. Not sure if this specific issue would be fixed by it though. |
I'm going to route this to the e2e team, since we have been able to reproduce using the example provided. |
@marktnoonan Sorry to ask,Is there a new progress in this question? |
Hi, @marktnoonan, are there any updates available? |
Hi folks, I'm afraid I don't have any updates, at this time it has been routed to the correct team, but hasn't been picked up. When it starts to move there will be activity in this issue. I don't have any information on when that might be. |
Hello, +1 on this issue. I can't find another way to test SSE with Cypress. Any update ? |
Cypress can't get data from SSE event to know when something is done and load the page. Cypress Version Node version Operating System |
Current behavior
Cypress can't load a list (list use SSE method). And header of Cypress is removed "origin".
Desired behavior
No response
Test code to reproduce
Use Cypress navigate to: https://console.metaaccess-b.opswat.com/inventory/devices/all to reproduce
Cypress Version
10.9.0
Node version
14.18.1
Operating System
Windows 11
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: