I have the following html table:
<table class="list user_permission">
<tr>
<th>Name</th>
<th>Permission</th>
</tr>
<tr id="permission_1">
<td>
test user01
</td>
<td>
Reading permission
</td>
</tr>
</table>
I want to assert in my tests the content of my first and second table cells. I tried it in the following way:
assert_select "tr#permission_1 td", "test user01"
assert_select "tr#permission_1 td", "Reading permission"
But it didn't work, it couldn't find such a entry.