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

Click on submit form does not recognize HTTP 302 response code #29488

Open
AngeloBadellino opened this issue May 8, 2024 · 0 comments
Open
Labels
stage: needs investigating Someone from Cypress needs to look at this

Comments

@AngeloBadellino
Copy link

Current behavior

When attempting to automate a login using Auth0's Universal Login, the automation fails to execute the click on the submit button, preventing the completion of the process.

On a live environment the user input the username and click on the form submit. The click triggers a POST that return a 302 response. Then the user can see the password field and conclude the login by performing another click on the submit button.

During the cypress e2e run the first submit seems to be performed since the password field become visible, but the test timeout after 60 second while waiting for the page to be loaded.

image

Desired behavior

On submit click Cypress should recognize the response code returned after posting the form and continue the login process.

Test code to reproduce

The described behavior can be seen by cloning and running the following repo.

Its enough to run npm install and npm run serve and then open cypress to run the only test,

https://github.com/AngeloBadellino/cypress_auth0

Cypress Version

13.8.1

Node version

v18.20.2

Operating System

Windows 10 enterpsice 19045.4291

Debug Logs

No response

Other

No response

@jennifer-shehane jennifer-shehane added the stage: needs investigating Someone from Cypress needs to look at this label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs investigating Someone from Cypress needs to look at this
Projects
None yet
Development

No branches or pull requests

2 participants