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

203
Vistas
Why is the dynamic ID value not changing in Cypress test runner but it changes every time in normal browser window?

There is a checkbox on the webpage which has ID attribute that changes every time the page is reloaded but in Cypress test runner browser window the id attribute does not change even if I run the test multiple times, it is fixed to "ag-7864-input".

I am selecting the checkbox using: cy.get('#ag-7864-input').click()

and it should fail the test because the id attribute is dynamic and changes every time but the test passes. While inspecting the element in test runner the id is shown: "ag-7864-input"


<input class="ag-input-field-input ag-checkbox-input" type="checkbox" id="ag-10102-input" tabindex="-1">
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