title: How to get a row and select a specific td in cypress?
body: <p>I have a table with 6 columns and variable rows. Now i want cypress to test the delete button. so i create a testitem in my table in the test before and want my program to delete this testitem. </p>
  
  <p>How can i search in a table in column 2, filter the row and click on the button in column 6 with cypress? </p>
  
  <p>I read the docu and guide on cypress.io but i have not find any solutions.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;div class="row"&gt;
          &lt;div class="top-buffer"&gt;&lt;/div&gt;
          &lt;div class="panel panel-primary"&gt;
              &lt;div class="panel-heading panel-head"&gt;Article&lt;/div&gt;
              &lt;div class="panel-body"&gt;
                  &lt;div class="btn-group"&gt;
      
                      &lt;a asp-action="Edit" asp-route-id="@Guid.Empty" class="btn btn-primary"&gt;&lt;i class="" glyphicon glyphicon-plus"&gt;&lt;/i&gt;NEW&lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="top-buffer"&gt;&lt;/div&gt;
                  &lt;table class="table table-bordered table-striped table-condensed"&gt;
                      &lt;thead&gt;
                          &lt;tr&gt;
                              &lt;th&gt;1&lt;/th&gt;
                              &lt;th&gt;2&lt;/th&gt;
                              &lt;th&gt;3&lt;/th&gt;
                              &lt;th&gt;4&lt;/th&gt;
                              &lt;th&gt;5&lt;/th&gt;
                          &lt;/tr&gt;
                      &lt;/thead&gt;
                      &lt;tbody&gt;
                          @foreach (var att in Model)
                          {
                          &lt;tr&gt;
                              &lt;td&gt;@Html.DisplayFor(modelItem =&gt; att.1)&lt;/td&gt;
                              &lt;td&gt;@Html.DisplayFor(modelItem =&gt; att.2)&lt;/td&gt;
                              &lt;td&gt;@Html.DisplayFor(modelItem =&gt; att.3)&lt;/td&gt;
                              &lt;td&gt;@Html.DisplayFor(modelItem =&gt; att.4)&lt;/td&gt;
                              &lt;td&gt;@Html.DisplayFor(modelItem =&gt; att.5)&lt;/td&gt;
                              &lt;td&gt;
                                  &lt;a asp-action="Edit" asp-route-id="@att.Id" class="btn btn-info"&gt;&lt;i class="glyphicon glyphicon-pencil"&gt;&lt;/i&gt;EDIT&lt;/a&gt;
                                  &lt;a asp-action="DeleteCategory" asp-route-id="@att.Id" class="btn btn-danger"&gt;&lt;i class="glyphicon glyphicon-trash"&gt;&lt;/i&gt;DELETE&lt;/a&gt;
                              &lt;/td&gt;
      
                          &lt;/tr&gt;
                          }
                      &lt;/tbody&gt;
                  &lt;/table&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>