Revision d7780a19
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/dataportal/pages/TaxonSearchResultPage.java | ||
---|---|---|
77 | 77 |
*/ |
78 | 78 |
public TaxonListElement getResultItem(int index) { |
79 | 79 |
|
80 |
TaxonListElement entry = new TaxonListElement(searchResults.findElement(By.xpath("ul/li[" + index + "]")));
|
|
80 |
TaxonListElement entry = new TaxonListElement(searchResults.findElement(By.xpath("div/div[" + index + "]")));
|
|
81 | 81 |
|
82 | 82 |
return entry; |
83 | 83 |
} |
Also available in: Unified diff
adapting test base class to changes to the search result list made in 6789eff