cypress-keycloak
cypress-keycloak copied to clipboard
Cypress commands for Keycloak
Is **Cypress-Keycloak** supporting the ability just to grab the token? This old Cypress-Keycloak-Commands repo is supporting following: ``` describe("Keycloak Login", () => { beforeEach(() => { cy.kcLogout(); cy.kcLogin("user").as("tokens"); cy.visit("/"); });...
As per the example, I added a `cy.logout` in my `afterEach` hook. Login in `beforeEach` works just fine, but as soon as it tries logging out, I get an error...
cy.session(()=>{ cy.logout(...); cy.login(...) } )
We have multiple Users with different Permissions and want to choose which user to login per test. I currently override the login-function: ```ts // cypress/commands.ts declare global { namespace Cypress...
Hi. Using this add-on to login gives me an error in Chrome console: ` ERROR Error: Uncaught (in promise): Error: The user profile was not loaded as the user is...