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

194
Views
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
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!