Skip to content

Commit

Permalink
Remove FreezerPro references from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-tchad committed Jan 31, 2025
1 parent 22738fd commit cdfa8d3
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/org/labkey/test/pages/study/ConfigureImporterPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
import java.util.Optional;

/**
* If the current folder has 0 specimen importers (implemented in Professional, and FreezerPro) enabled in it,
* If the current folder has 0 specimen importers (implemented in Professional) enabled in it,
* but the modules are available on the server, the user will be shown call to action to enable the modules.
* If 0 importer modules are available, the user will be shown an upsell banner.
*
* If the user has >1, this page will show a configuration selection (pick which one- QueryBased, FreezerPro)
* If the user has >1, this page will show a configuration selection
*
* If the user has only 1, this page will show options for configuring it.
*
Expand All @@ -38,8 +38,7 @@ protected void waitForPage()
{
waitFor(()-> elementCache().EnableModuleBanner().isPresent() ||
elementCache().importOptionPickerBanner().isPresent() ||
elementCache().configureQueryBasedConnectionPane().isPresent() ||
elementCache().freezerProBanner().isPresent(),
elementCache().configureQueryBasedConnectionPane().isPresent(),
"the page did not initialize in time", WAIT_FOR_JAVASCRIPT);
}

Expand All @@ -63,10 +62,7 @@ public boolean isQueryConfigurationShown()
}

/**
* this action is only available if there are more than 1 options to pick from- querybased, freezerpro (or others?)
* If either Professional(query-based) or Freezerpro are enabled on the folder, this page will not be shown
* at the end of the "configure specimen import" link on the Manage Study page, instead you will be directed to views
* from those modules so you can configure their importers accordingly
* This action is only available if there are more than 1 options to pick from
*
* @param option Use the text label next to the radio button
* @return The current page
Expand Down Expand Up @@ -111,9 +107,5 @@ Optional<WebElement> configureQueryBasedConnectionPane()
.findOptionalElement(getDriver());
}

Optional<WebElement> freezerProBanner()
{
return Locator.tagWithText("h3", "FreezerPro Configuration").findOptionalElement(getDriver());
}
}
}

0 comments on commit cdfa8d3

Please sign in to comment.