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

Create GreenBallFilter.java #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sagarkhushalani
Copy link

@sagarkhushalani sagarkhushalani commented Oct 1, 2021

This change corrects the path used when to return gifs when the color-blind option is turned on.

Issue: https://issues.jenkins.io/browse/JENKINS-66780

  • 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

#JENKINS-66780

This change corrects the path used when to return gifs when the color-blind option is turned on.
@sagarkhushalani
Copy link
Author

@nfalco79 would you check/merge this request please?

@nfalco79
Copy link
Member

nfalco79 commented Jan 8, 2022

Please provide a test case


@Test
public void patternShouldMatchColorblind() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As test I mean a request done to the filter to load blue.gif image returns a correct URL to the green gif image
create a variable JenkinsRule and than you can navigate rule.createWebClient().goTo("/nocacheImages/colorblind/48x48/blue.gif") for example and the URL it returns

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