-
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
I am unable to login with valid username and password on a website - timeout #2911
I am unable to login with valid username and password on a website - timeout #2911
Comments
Hey @johnnylcp, if you open the devtools console, you can see an error being printed on successful login:
This error is due to the browser's security checks and can be disabled within Cypress by setting |
Thanks jennifer. That worked |
I just had a similar issue where my site would not load the page after login even though the login credentials were successful and I could log in manually with the same account. The Cypress test timed out after 60 seconds with a page load error and I was stuck until I saw this. Changing the chromeWebSecurity to false did the trick. |
I am in the same situation wherein our organization, there are multiple domain switches in the same tests. Also switching from https to HTTP protocol. when I am using Refused to display 'https://nve75756.sprint.dynatracelabs.com/#deploy' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' what is the work around? |
If you believe you are experiencing bug in Cypress, open a new issue with a fully reproducible example that we can run end to end on our machines. For questions, check out our community chat, it can be helpful for debugging or answering questions on how to use Cypress. |
Is this a Feature or Bug?
bug
Current behavior:
I get the following error when I use a valid username and password to login to the moviedb webpage.
I have tried to increase
pageloadtimeout
value to120000
but to no avail.The weird thing is when I use a invalid password or invalid username and press the Login button. It works.
Desired behavior:
With a valid username and password. I should be able to press the Login button
Steps to reproduce: (app code and test code)
This is my code:
Versions
cypress version: 3.1.2
OS: Windows 10
browser: chrome
The text was updated successfully, but these errors were encountered: