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

274
Vistas
Error in cypress"Constructor is not a constructor"

I am experiencing the "Constructor is not a constructor" error on Cypress version 9.3.1. It appears when I identify a button and try to click on it. Error "TypeError Timed out retrying after 4050ms: Constructor is not a constructor"

enter image description here

the error appears when determining through cy.get and cy.xpath

cy.get('#clr-tab-link-8').should('be.visible').click();
cy.xpath('//*[@id="clr-tab-link-8"]').should('be.visible').click();

Html code

<button _ngcontent-xqo-c23="" clrtablink="" role="tab" type="button" tabindex="-1" class="tid-app-folder-vms btn btn-link nav-link" aria-hidden="false" id="clr-tab-link-8" aria-selected="false">VMs</button>

the option of using .click({ force: true }); did not help

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I get those errors sometimes and with a retry, at the second attempt, they don't longer reproduce. https://docs.cypress.io/guides/guides/test-retries

about 4 years ago · Juan Pablo Isaza Denunciar
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