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

300
Views
Interacting with the table (Cypress)

Hey guys having some issues here.

So i would like to locate first row in my table that have confirmed status then click on that row to perform another checks within that element

it('should be able to view transaction id', () => {
     Get first element in the table that have confirmed status
     Click on that row 
     Check if that expanded row have Transaction ID and value of that ID is not empty 

});

This is my table rows

static get tableRows(): Cypress.Chainable<JQuery<HTMLElement>> {
    return cy.get<HTMLElement>('tbody[role="rowgroup"] tr');
  }

Here is my status column

static get statusColumn(): Cypress.Chainable<JQuery<HTMLElement>> {
    return cy.get<HTMLElement>('tr td.cdk-cell.status.cdk-column-Status');
  }a

Another complexity is that expanded row have more td blocks

enter image description here

about 4 years ago · Santiago Gelvez
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!