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

[JENKINS-57804] Fix typo in the name of the checkbox that enables user signup for the HudsonSecurityRealm page object #506

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

mikecirioli
Copy link
Contributor

JENKINS-57804

The page object that can be used to configure the JenkinsDatabaseSecurityRealm in acceptance tests has a typo in the element name used to enable/disable the ability for users to self-register (ie. signup) when using this realm. The jelly form control is named "allowsSignup" but the pageobject references it using the name "allowSignup". This causes any ATH tests that rely on manipulating that element to fail with an element not found/Timeout exception.

This was brought to light as the result of a recent change that forces the UI behavior to disable user signup by default (as a security precaution), which in turn caused some tests, which expected this to be enabled by default, to break.

This PR addresses that by fixing the name of the control used by the page object. I've no idea if which spelling was intended to be correct, but this was the on that was inconsistent with the rest.

signup for the HudsonSecurityRealm page object
@olivergondza olivergondza merged commit 8cd0e2b into jenkinsci:master Jun 7, 2019
@olivergondza
Copy link
Member

Spot on. Thanks!

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.

3 participants