-
Bug
-
Resolution: Unresolved
-
Minor
-
None
This started to fail on 2.236, after JENKINS-61808.
When running some ATHs that are configuring a Job with a 'Password' parameter, can not set it's default value:
org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/properties/hudson-model-ParametersDefinitionProperty/parameterDefinitions/defaultValue'] in http://127.0.0.1:51242/job/established_willpower/configure
To reproduce it:
@Describable("Password Parameter") public class PasswordParameter extends Parameter { public PasswordParameter(Job job, String path) { super(job, path); } @Override public void fillWith(Object v) { control("value").set(v.toString()); } }
@Test public void buildParametrized() { FreeStyleJob j = jenkins.jobs.create(FreeStyleJob.class); j.configure(); j.addParameter(PasswordParameter.class).setName("password").setDefault("foopass").setDescription("apass"); j.save(); }
- links to