screenshot and url do not return expected result #25509
Unanswered
KenjiOhtsuka
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to test OIDC ID provider with test Relying Party site, and I'm struggling to get information after jumping to
redirect_uri
.In the following code,
click()
is a trigger for going to theredirect_uri
.But successive commands, such as
cy.screenshot(
${SCREENSHOT_DIR}/Redirected page, {capture: 'fullPage'})
andcy.url()
fails.cy.screenshot
says:when I commented out the screenshot, the
cy.url
returns blank URL (''
).What I want to do is to check the URL and query parameters (
state
,code
) in the redirected page.What am I missing? Can't Cypress test 2 or more different domain pages at once?
Beta Was this translation helpful? Give feedback.
All reactions