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

Cypress says load event isn't fired, but it is fired #30803

Open
lMartin3 opened this issue Dec 26, 2024 · 0 comments
Open

Cypress says load event isn't fired, but it is fired #30803

lMartin3 opened this issue Dec 26, 2024 · 0 comments

Comments

@lMartin3
Copy link

Current behavior

I have a setup with two extremely simple web applications. One of them is an oauth + openid identity provider (call it "auth portal").

After writing a very simple test, just going into the application (app.example.com) and clicking the log-in button which makes a couple redirects, cypress says the auth application never fires the "load" event.

This is what a typical log-in flow from the application looks like
image

The auth application loads in 500ms according to chrome dev tools, and I added a console log that fires when the site is loaded, but for some reason cypress doesn't pick it up.

Unfortunately I cannot share much information about the applications themselves, but what I can say is that there isn't any page that takes more than 1000ms to load, that's for sure.

Desired behavior

Cypress should recognize when the page loads

Test code to reproduce

it('Is able to reach log-in website', () => { cy.visit('https://app.[removed]'); cy.get("#oauth-login").click(); });

Cypress Version

13.17.0

Node version

18.17.0

Operating System

Windows 11 pro 22631.4602 1000.22700.1055.0

Debug Logs

No response

Other

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant