Skip to content

Conversation

@labkey-tchad
Copy link
Member

Rationale

The QC metrics page sometimes takes longer than 10 seconds to load.

org.openqa.selenium.NoSuchElementException: Expected condition failed: waiting for xpath=//button[normalize-space()='Add New Custom Metric'] (tried for 10 second(s) with 100 milliseconds interval)
  [...]
  at app//org.labkey.test.WebDriverWrapper.waitForElement(WebDriverWrapper.java:2504)
  at app//org.labkey.test.components.targetedms.QCSummaryWebPart.clickConfigureQCMetrics(QCSummaryWebPart.java:106)
  at app//org.labkey.test.tests.targetedms.TargetedMSQCConfigureMetricTest.testInconsistentMetricDisplay(TargetedMSQCConfigureMetricTest.java:59)

This also causes subsequent tests to fail because they don't navigate to the test project:

org.openqa.selenium.NoSuchElementException: Expected condition failed: waiting for id=PanoramaDashboardTab (tried for 10 second(s) with 100 milliseconds interval)
  at app//org.labkey.test.Locator.waitForElement(Locator.java:570)
  at app//org.labkey.test.BaseWebDriverTest.clickTab(BaseWebDriverTest.java:1858)
  at app//org.labkey.test.BaseWebDriverTest.clickTab(BaseWebDriverTest.java:1848)
  at app//org.labkey.test.tests.targetedms.TargetedMSTest.goToDashboard(TargetedMSTest.java:404)
  at app//org.labkey.test.tests.targetedms.TargetedMSQCConfigureMetricTest.testPlotOnlyOption(TargetedMSQCConfigureMetricTest.java:189)

Related Pull Requests

  • N/A

Changes

  • Wait longer for QC metrics page to load
  • Ensure tests start in correct project

@labkey-tchad labkey-tchad self-assigned this Dec 16, 2025
@labkey-tchad labkey-tchad merged commit d88737a into release25.11-SNAPSHOT Dec 17, 2025
8 checks passed
@labkey-tchad labkey-tchad deleted the 25.11_fb_metricsPageUiTiming branch December 17, 2025 18:17
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.

3 participants