Skip to content

Wait for specialty assays to load #2432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release25.3-SNAPSHOT
Choose a base branch
from

Conversation

labkey-tchad
Copy link
Member

Rationale

Issue 52921: Longstanding intermittent test failure involving ChooseAssayTypePage
This helper seems to click the "Specialty Assay" tab before the page is ready and it stays on the "Standard Assay" tab.
Hopefully, waiting for the assay selector to load will be sufficient to ensure that the test can select the tab.

TeamCity failure state:
image

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of [[[[[[FirefoxDriver: firefox on windows (79cd1de2-310d-41bb-a24c-419415cc7374)] -> xpath: ((.//*[@id="assay-picker-tabs"])|(.//*[contains(concat(' ',normalize-space(@class),' '), " lk-tabs ")]))]] -> xpath: (div|div/div)[contains(concat(' ',normalize-space(@class),' '), " tab-content ")]]] -> id: tabs0-pane-specialty] (tried for 10 second(s) with 500 milliseconds interval)
  at app//org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84)
  at app//org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)
  at app//org.labkey.test.components.react.Tabs.selectTab(Tabs.java:67)
  at app//org.labkey.test.pages.assay.ChooseAssayTypePage.selectAssayType(ChooseAssayTypePage.java:65)
  at app//org.labkey.test.util.AbstractAssayHelper.createAssayDesign(AbstractAssayHelper.java:84)
  at app//org.labkey.test.util.AbstractAssayHelper.createAssayDesignWithDefaults(AbstractAssayHelper.java:72)
  at app//org.labkey.test.util.external.labModules.LabModuleHelper.defineAssay(LabModuleHelper.java:71)

Related Pull Requests

  • N/A

Changes

  • Wait for specialty assays to load

@labkey-tchad labkey-tchad requested review from a team and labkey-chrisj and removed request for a team April 29, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant