I’m trying to search within a single table row for my cucumber test.
I have each row formatted like this:
%tr
%td= title
%td= complete
%td= goal
And I am looking to search within a row with a given title, and check the goal
Is there a simple way to accomplish this?
For anyone else who stumbles on this question, I think a better way to do this is:
This way you’re not adding a title attribute when it’s not really needed