You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm testing the login flow via keycloak, the webpage would redirect to a url on localhost and when I try to get the current url using cy.url(), I'm getting an empty string.
URL of Issue(s)
N/A
Steps to replicate
Start an oauth login flow, specifically keycloak.
Use the correct username and password.
Expect to be redirected to a callback url on your local/test server.
Get redirected to an actual page like /home. Or manually call cy.visit('/home').
Description
When I'm testing the login flow via keycloak, the webpage would redirect to a url on
localhost
and when I try to get the current url usingcy.url()
, I'm getting an empty string.URL of Issue(s)
N/A
Steps to replicate
/home
. Or manually callcy.visit('/home')
.cy.url()
contains/home
.Browser
Chromium 129
Device
Additional Information
The test body:
Here's the screenshot starting from last third line of the test.
The text was updated successfully, but these errors were encountered: