Skip to content
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

Handle missing info banner correctly #2134

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

labkey-tchad
Copy link
Member

Rationale

Previous fix introduced a different error.

org.openqa.selenium.NoSuchElementException: Expected condition failed: waiting for css=div.alert-info
within: DomainFormPanel [[FirefoxDriver: firefox on linux (45a95b94-47d3-49d8-b209-f5365ee0fc8d)] -> xpath: (//div[contains(concat(' ',normalize-space(@class),' '), " domain-form-panel ")][.//*[contains(concat(' ',normalize-space(@class),' '), " domain-panel-title ")]])[2]] (tried for 1 second(s) with 100 milliseconds interval)
  at app//org.labkey.test.Locator.waitForElement(Locator.java:545)
  at app//org.labkey.test.Locator.waitForElement(Locator.java:521)
  at app//org.labkey.test.Locator.waitForElement(Locator.java:514)
  at app//org.labkey.test.Locator.waitForElements(Locator.java:482)
  at app//org.labkey.test.components.domain.DomainFormPanel.getPanelAlertElements(DomainFormPanel.java:558)
  at app//org.labkey.test.components.domain.DomainFormPanel.getPanelAlertWebElement(DomainFormPanel.java:549)
  at app//org.labkey.test.components.domain.DomainFormPanel.getPanelAlertText(DomainFormPanel.java:526)
  at app//org.labkey.test.components.domain.DomainFormPanel.getPanelAlertText(DomainFormPanel.java:521)
  at app//org.labkey.test.tests.premium.SampleTypeUniqueIdTest.testSampleTypeCreateUniqueIdMessaging(SampleTypeUniqueIdTest.java:86)

Related Pull Requests

Changes

  • Handle missing info banner correctly

@labkey-tchad labkey-tchad merged commit b35fe28 into release24.11-SNAPSHOT Nov 8, 2024
4 checks passed
@labkey-tchad labkey-tchad deleted the 24.11_fb_panelAlertElements branch November 8, 2024 20:35
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