Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

240
Visualizações
Unable to identify element in table by cypress
  1.cy.get('.p-datatable-table').contains('td',text).should('be.visible');

  2.cy.contains('td',text).get('.svg-inline--fa.fa-edit.fa-w-18').last().click({force: true})

In first point I am trying assertion on table that whether this particular element is present or not in a particular column. In second point if it finds element click the edit button against the element.

But the problem I am facing is that cypress is not identifying the element it says that this element is not present but actually it is present in the table.

enter image description here

about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda