-
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
Cy10 multi domain: redirect triggered keycloak login form is unresponsive #22282
Comments
Hey @IvoLeist. Thank you for opening an issue. I was able to reproduce the behavior you exactly described in this reproduction repository. There should be a GIF in the README to show the state of the test runner. Can you verify that this behavior looks correct to you? |
Hey @AtofStryker thank you for having a look into it and setting up a reproduction repo so quickly. Just for completeness, in order to have the expected tests passed I had to modify the following: README: keycloak.cy.js: Good luck with fixing the issue ✌️ |
@IvoLeist perfect. I will update the readme and test file with your suggestions to make sure everything runs as expected. Thank you for pulling that down and verifying it! |
Also ran the tests against cypress with #22320 changes. The changes didn't seem to resolve the issue. |
Confirmed to be fixed by #23297 |
The code for this is done in cypress-io/cypress#23297, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Dear Cypress Team,
first congratulations to the release of Cy10 was really looking forward to the multi domain support 🚀
and I am happy to report that it kinda works as expected :) meaning we are finally about to drop
kcFakeLogin
https://github.com/Fredx87/cypress-keycloak-commands
However, there seem to be some remaining edges not yet resolved:
For us the keycloak login form is unresponsive when having the login page triggered by a redirect.
Desired behavior
For now the workaround is sufficient to pass the login to test features which require to be logged in
Nevertheless, the current behavior blocks us to fully abandon
kcFakeLogin
because we still need it to make sure that the Keycloak login can be triggered and is working as expected.
So we would expect that the keycloak login form still remains responsive
when triggered by a redirect and not by a button.
Keep up the good work ✌️
Test code to reproduce
Workaround:
Trigger login form by login button
Cypress Version
10.1.0
Other
Tested Browsers:
relevant versions of the package.json
The text was updated successfully, but these errors were encountered: