// A second row in the thead must be added
assertThat(getTable().find("thead").find("tr")).hasSize(2);
assertThat(getTable().find("thead").find("tr", 1).find("th")).hasSize(5);
assertThat(getTable().find("tfoot")).hasSize(0);
FluentWebElement firstHeadRow = getTable().find("thead").find("tr", 0);
FluentWebElement secondHeadRow = getTable().find("thead").find("tr", 1);
// All other footer cells must have the same content as the header ones
assertThat(secondHeadRow.find("th", 0).getValue()).isEqualTo(firstHeadRow.find("th", 0).getValue());
assertThat(secondHeadRow.find("th", 1).find("span")).hasSize(1);
assertThat(secondHeadRow.find("th", 1).find("span").getAttribute("class")).contains("filter_column filter_text");
assertThat(secondHeadRow.find("th", 2).getValue()).isEqualTo(firstHeadRow.find("th", 2).getValue());
assertThat(secondHeadRow.find("th", 3).getValue()).isEqualTo(firstHeadRow.find("th", 3).getValue());
assertThat(secondHeadRow.find("th", 4).getValue()).isEqualTo(firstHeadRow.find("th", 4).getValue());
}