mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
Tweaks to keyword extraction
This commit is contained in:
parent
825dea839d
commit
ba375ef769
@ -212,9 +212,10 @@ public class EdgeSearchE2ETest extends E2ETestBase {
|
|||||||
|
|
||||||
var html = driver.findElement(new By.ByXPath("//*")).getAttribute("outerHTML");
|
var html = driver.findElement(new By.ByXPath("//*")).getAttribute("outerHTML");
|
||||||
|
|
||||||
assertEquals(List.of("Frog", "Binomial nomenclature", "Amphibian", "Mantis"), getTitlesFromSearchResults(html));
|
|
||||||
|
|
||||||
Files.move(driver.getScreenshotAs(OutputType.FILE).toPath(), screenshotFilename("site-search"));
|
Files.move(driver.getScreenshotAs(OutputType.FILE).toPath(), screenshotFilename("site-search"));
|
||||||
|
|
||||||
|
assertEquals(List.of("Frog", "Binomial nomenclature", "Mantis", "Amphibian"), getTitlesFromSearchResults(html));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user