Skip to content

Fix tests for Firefox and Selenium updates#2756

Merged
labkey-tchad merged 3 commits intodevelopfrom
fb_listTestFirefox140
Oct 22, 2025
Merged

Fix tests for Firefox and Selenium updates#2756
labkey-tchad merged 3 commits intodevelopfrom
fb_listTestFirefox140

Conversation

@labkey-tchad
Copy link
Member

Rationale

  • FlowTest started failing with the latest Selenium update. It caught the test attempting to interact with a hidden form element. That interaction was unnecessary so I updated the test to assert that the element is hidden instead.
  • ListTest.testAutoIncrementKeyEncoded started failing with Firefox 140. WebDriver.getPageSource() returns the source with slightly different encoding than earlier Firefox versions. There's no particular reason to check the page source in this way; we can check the name attribute of each form input instead.

Related Pull Requests

Changes

  • Update ListTest.testAutoIncrementKeyEncoded to work on Firefox 140
  • Don't try to interact with hidden select in "link to study" form

@labkey-tchad labkey-tchad merged commit a3751a7 into develop Oct 22, 2025
8 checks passed
@labkey-tchad labkey-tchad deleted the fb_listTestFirefox140 branch October 22, 2025 15:50
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