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

Fix acceptance tests by reverting capitalization change #1647

Merged

Conversation

MarkEWaite
Copy link
Contributor

Fix acceptance tests by reverting capitalization change

The Jenkins acceptance test harness uses the display name to locate UI components and test them. It locates those components by display name.

The tests in the acceptance test harness are especially valuable now while we are preparing for the Spring Security 6.x upgrade. It is better to retain the previous capitalization and preserve Jenkins acceptance test harness results rather than need to spread the capitalization change into the acceptance test harness and related components.

Added TODO item to fix the capitalization in both the git plugin and the acceptance test harness in a future release.

Testing done

Confirmed that automated tests pass on Java 21 Linux. Confirmed by review of the acceptance test harness stack trace that the capitalization change is the source of the problem.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

The Jenkins acceptance test harness uses the display name to locate UI
components and test them.  It locates those components by display name.

The tests in the acceptance test harness are especially valuable now while
we are preparing for the Spring Security 6.x upgrade.  It is better to
retain the previous capitalization and preserve Jenkins acceptance test
harness results rather than need to spread the capitalization change
into the acceptance test harness and related components.

Added TODO item to fix the capitalization in both the git plugin and
the acceptance test harness in a future release.
@MarkEWaite MarkEWaite requested a review from a team as a code owner August 26, 2024 13:28
@MarkEWaite MarkEWaite added the tests Automated test addition or improvement label Aug 26, 2024
@MarkEWaite MarkEWaite changed the title Fix acceptance tests bny reverting capitalization change Fix acceptance tests by reverting capitalization change Aug 26, 2024
@MarkEWaite MarkEWaite merged commit 020e072 into jenkinsci:master Aug 26, 2024
17 checks passed
@MarkEWaite MarkEWaite deleted the revert-capitalization-change branch August 26, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Automated test addition or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant