Skip to content

Commit

Permalink
Merge 23.7 to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-teamcity committed Jul 19, 2023
2 parents 319acb9 + 06472e3 commit ea2fad4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/src/org/labkey/test/util/cds/CDSHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -1305,14 +1305,14 @@ public void viewLearnAboutPage(@LoggedParam String learnAxis)
{
NavigationLink.LEARN.makeNavigationSelection(_test);

WebElement axisTab = _test.shortWait().until(ExpectedConditions.visibilityOfElementLocated(
Locator.tag("div").withClass("learn-dim-selector")
.append(Locator.tag("h1").withClass("lhdv").withText(learnAxis))));

Locator.XPathLocator rowLoc = Locator.xpath("//table[@role='presentation']//tr[@role='row']").withDescendant(Locator.byClass("detail-description")).notHidden();
WebElement initialRow = rowLoc.waitForElement(_test.getDriver(), BaseWebDriverTest.WAIT_FOR_JAVASCRIPT);
_test._ext4Helper.waitForMaskToDisappear();

WebElement axisTab = _test.shortWait().until(ExpectedConditions.visibilityOfElementLocated(
Locator.tag("div").withClass("learn-dim-selector")
.append(Locator.tag("h1").withClass("lhdv").withText(learnAxis))));

if (!axisTab.getAttribute("class").contains("active") &&
!Locator.tagWithAttribute("input", "placeholder", "Search " + learnAxis.toLowerCase()).existsIn(_test.getDriver()))
{
Expand Down

0 comments on commit ea2fad4

Please sign in to comment.