Skip to content

Conversation

@labkey-tchad
Copy link
Member

Rationale

This test failure happens when there is just a pixel of the save button visible. For some reason Selenium doesn't scroll it into view and the click does nothing.

image
org.labkey.test.TestTimeoutException: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for browser to navigate (tried for 59 second(s) with 500 milliseconds interval)
[...]
  at app//org.labkey.test.WebDriverWrapper.waitForPageToLoad(WebDriverWrapper.java:2011)
  at app//org.labkey.test.WebDriverWrapper.doAndMaybeWaitForPageToLoad(WebDriverWrapper.java:2137)
  at app//org.labkey.test.WebDriverWrapper.doAndWaitForPageToLoad(WebDriverWrapper.java:2106)
  at app//org.labkey.test.WebDriverWrapper.clickAndWait(WebDriverWrapper.java:2961)
  at app//org.labkey.test.WebDriverWrapper.clickAndWait(WebDriverWrapper.java:2956)
  at app//org.labkey.test.components.domain.BaseDomainDesigner.clickSave(BaseDomainDesigner.java:69)
  at app//org.labkey.test.components.domain.DomainDesigner.clickSave(DomainDesigner.java:35)
  at app//org.labkey.test.tests.SampleTypeRenameTest.testSampleTypeFieldRename(SampleTypeRenameTest.java:118)

This test fails reliably for me if the component waits for the genId banner to appear. Adding a non-fatal wait to account for the page layout shift.

Related Pull Requests

  • N/A

Changes

  • Scroll the domain designer save button into view
  • Wait for genId counter to appear

@labkey-tchad labkey-tchad self-assigned this Jan 16, 2026
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.

2 participants