Skip to content
Discussion options

You must be logged in to vote

OK, found an example.

cy.get('.table1 > tbody > tr:nth-child(4) > td:nth-child(1)') .should('contain', 'title 2') // row 4 col 1 .parent('tr') // row 4 .find('td:nth-child(3)') // row 4 col 3 .should('contain', 'value 2') .parent('tr') // row 4 .prev('tr') // row 3 .find('td:nth-child(1)') // row 3 col 1 .should('contain', 'category 2')

Case closed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thepixelhead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant