I am working with an HTML table that contains the following data:
id | name
2 | C
1 | B
3 | A
My task is to test the order of items in the table. I am currently able to retrieve the rows using:
wrapper.findAll('table tr')
However, I am unsure how to assert the order of rows by comparing the columns (tds). Any suggestions would be greatly appreciated. Thank you.