Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into fb_embedded_baseFi…
Browse files Browse the repository at this point in the history
…leRoot
  • Loading branch information
labkey-tchad committed Jan 17, 2024
2 parents 276e2ea + bf12f25 commit aed850f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public T setNameExpression(String nameExpression)
public String getNameExpressionPreview()
{
getWrapper().mouseOver(elementCache().helpTarget("Naming "));
waitFor(()->elementCache().toolTip.isDisplayed(), "No tooltip was shown for the Name Expression.", 1_000);
return elementCache().toolTip.getText();
waitFor(()->elementCache().popover.isDisplayed(), "No tooltip was shown for the Name Expression.", 1_000);
return elementCache().popover.getText();
}

public T dismissToolTip()
Expand All @@ -125,7 +125,7 @@ public T dismissToolTip()
// Of course this may not be true in the future.
getWrapper().mouseOver(elementCache().learnMoreLink);

waitFor(()->!elementCache().toolTip.isDisplayed(), "The tool tip did not go away.", 1_000);
waitFor(()->!elementCache().popover.isDisplayed(), "The tool tip did not go away.", 1_000);

return getThis();
}
Expand Down Expand Up @@ -390,7 +390,7 @@ public final WebElement helpTarget(String divLabelText)
}

// Tool tips exist on the page, outside the scope of the domainDesigner, so scope the search accordingly.
public final WebElement toolTip = Locator.tagWithId("div", "tooltip").refindWhenNeeded(getDriver());
public final WebElement popover = Locator.byClass("popover").refindWhenNeeded(getDriver());

protected final WebElement genIdAlert = Locator.tagWithClass("div", "genid-alert").refindWhenNeeded(this);

Expand Down

0 comments on commit aed850f

Please sign in to comment.