Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!