Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

304
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda