Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

164
Vistas
Login in Cypress based test with fedrated login provider (multiple redirects)

I'm trying to test an app which uses Auth0 for auth. The Auth0 account is federated with Azure AD, all logins gets redirect to Azure AD where the user enters its credentials. Because of restrictions that is out of my control we have to follow this flow even in the Cypress based tests, using ROPC is not an option.

The problem I'm having is that when Auth0 redirects to Azure AD it completly takes over the browser, loosing the Cypress test context. Is there any way this can be avoided or do I have to take care of the login outside of the Cypress tests somehow?

These are the steps that we do in the tests:

  1. Navigate to app and click login
  2. Gets redirected to Auth0
  3. Enter email and submit
  4. Gets redirected to Azure AD (the entire window is now Azure AD login page and Cypress can't interact with the page)

Any ideas? Thanks!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda