Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

190
Visualizações
Cypress with angular element detached of the DOM error

I am working with cypress to test an Angular application. Lot of tests failed because of an element is detached from the DOM error. I have tried many solutions to fix this without using cy.wait(xxx). I have tried: cy.get('element_selector').should('be.visible').click()
cy.waitElementOption(selector, timeout, 'exist') then click on the element
cy.get(selector).click({ force: true })
or using https://github.com/dmtrKovalenko/cypress-real-events library.

None of these solution works 100% of the time.

Am I missing something about working with Angular and Cypress? Is there any other solution do to such kind on interaction?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda