We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc24075 commit fcafb21Copy full SHA for fcafb21
src/test/java/org/vaadin/addons/taefi/component/ToggleButtonGroupIT.java
@@ -281,12 +281,13 @@ private Optional<TestBenchElement> getTooltipFor(WebElement element) {
281
if (tooltipId == null) {
282
return Optional.empty();
283
}
284
- List<TestBenchElement> tooltips = $("vaadin-tooltip-overlay").all();
+ List<TestBenchElement> tooltips = $("vaadin-tooltip").all();
285
if (tooltips.isEmpty()) {
286
287
288
return tooltips.stream()
289
- .filter(testBenchElement -> testBenchElement.getAttribute("id").equals(tooltipId))
+ .map(tooltip -> tooltip.findElement(By.tagName("div")))
290
+ .filter(div -> div.getAttribute("id").equals(tooltipId))
291
.findFirst();
292
293
0 commit comments