Does anybody has recommendations on articles about moving from Selenium to Cypress? I'm struggling with the inability to assign elements in the DOM to variables. That philosophy just isn't clicking for me.
For example, I have a table that I need to iterate over the cells in each row and verify the data, and then do this with each row. In Selenium, this is easy since I can assign the elements to a list and then iterate over the list, but with Cypress this seems like a much bigger task because if I want to call
.each
on the rows, then call
.find
on each row, but the data in the row hasn't loaded yet, I get an error since the row has loaded, but the text in each column hasn't.
Is there something fundamental I'm missing here?