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

Don't change browser window size during test setup #2118

Merged
merged 4 commits into from
Nov 1, 2024

Conversation

labkey-tchad
Copy link
Member

Rationale

BaseWebDriverTest.setUp current resets the browser window size before each test method. With Firefox 128, doing so takes around five seconds. This can add significant execution time to our test suites, especially with classes with numerous small test methods.

Related Pull Requests

Changes

  • Don't change browser window size unless webtest.window.size is set
  • Combine window height and width properties into one

@labkey-tchad labkey-tchad merged commit b9d90a2 into release24.7-SNAPSHOT Nov 1, 2024
3 of 4 checks passed
@labkey-tchad labkey-tchad deleted the 24.7_fb_moreSetUpLogging branch November 1, 2024 17:09
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