Skip to content

Commit

Permalink
Fix test case: now datatables.j searches only in text and not in tool…
Browse files Browse the repository at this point in the history
…tip.
  • Loading branch information
uhafner committed Sep 19, 2021
1 parent ef09774 commit 62aca72
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,17 @@ private void assertTableEntriesAndSorting(final DetailsTable detailsTable) {
* detailsTable object we want to assert the search for.
*/
private void assertSearch(final DetailsTable detailsTable) {
detailsTable.searchTable("ui-tests/pom.xml");
detailsTable.searchTable("GitBlamer.java");
assertThat(detailsTable.getNumberOfTableEntries()).isEqualTo(1);

detailsTable.sortColumn(AUTHORS);
detailsTable.sortColumn(AUTHORS);

assertRow(detailsTable,
0,
"pom.xml",
2,
2
"GitBlamer.java",
3,
46
);
detailsTable.clearSearch();
assertThat(detailsTable.getTableRows().size()).isEqualTo(10);
Expand Down

0 comments on commit 62aca72

Please sign in to comment.