-
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
Page goes into infinite refresh loop(Phoenix Liveview websites) #29690
Comments
Hi @jennifer-shehane , any update on this. |
Hi @jennifer-shehane , for that particular code, i too am getting the same issue. describe("Visit", () => {
it("visit testcase", () => {
cy.visit("https://elixirstream.dev/regex");//Can visit any webpage
cy.visit('https://2024.elixirconf.com/');
//Below are a list of few website which produce same behaviour.
//cy.visit('https://www.arta.io/contact-us');
//cy.visit('https://arta-us.sothebys.com/');
//cy.visit('https://www.intelidoc.io/');
//cy.visit('https://rocketvalidator.com/');//Website made by elixir+Phoenix LV
//cy.contains('Get Started').click();
});
}); |
This is the screencast of results for the above code: cypress.reloading.issue.mp4 |
Hi @jennifer-shehane , any further update on this. |
I am able to see this behavior of infinite reloading of the AUT website with no resolution in the tests while running the below code in 13.13.3. it("visit testcase", () => {
cy.visit("https://elixirstream.dev/regex");//Can visit any webpage
cy.visit('https://2024.elixirconf.com/');
}) This used to accurately show an error about how you should use @srivastav99 Call |
Ok, actually this shouldn't error - the origin error will actually only display if you run commands against the new origin in v12. I'm not sure why this is infinitely reloading, it certainly shouldn't |
Current behavior
When navigating from any page to another page which uses Phoenix Liveview, the page goes into infinite refresh loop.
In the below code I first visit a website(could be any website) and from that website I try redirecting to another webpage(website made using Phoenix Liveview) and try and click on 'Get-Started' button. But as soon as cypress redirects to the concerned page it starts to refresh and keeps on refreshing and the execution of test lines does not move forward.
Note: If we navigate directly to page using Phoenix Liveview, the refresh issue does not seem to happen.
Test.page.refresh.issue.mp4
Desired behavior
The test should first visit the given webpage, then navigate to another given webpage and click on 'Get-Started' button thus opening sign-in pop-up.
Test code to reproduce
Cypress Version
13.11.0
Node version
v21.4.0
Operating System
Windows 11 Pro
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: