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

289
Views
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 answers
Answer question

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 Report
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!