Join Discord
Powered by
https://github.com/cypress-io/cypress/discussions/...
# e2e-testing
l
limited-gold-56062
09/17/2022, 3:57 AM
https://github.com/cypress-io/cypress/discussions/21186?sort=new#discussioncomment-2829753
why do we need to click a link or button to make cy.origin() work? if we use window.location.href, cy.get() will not work you can try a demo url:
https://b2clivedemo.b2clogin.com/b2clivedemo.onmicrosoft.com/B2C_1A_Demo_SignUp_SignIn_Dynamic/oauth2/v2.0/authorize?client_id=cfaf887b-a9db-4b44-ac47-5efff4e2902c&nonce=defaultNonce&redirect_uri=https%3A%2F%2Fjwt.ms&scope=openid&response_type=id_token&prompt=login
Previous
Next