Skip to content

Commit

Permalink
Merge pull request #140 from MarkEWaite/adapt-to-jenkins-2.413-ui-imp…
Browse files Browse the repository at this point in the history
…rovement

Adapt DockerServerCredentialsTest for 2.413+ credentials page
  • Loading branch information
jglick authored Jul 10, 2023
2 parents fc21d9e + c30a5a8 commit a3cb0a6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ public void configRoundTripUpdateCertificates() throws Exception {
store.addDomain(domain, credentials);

HtmlForm form = getUpdateForm(domain, credentials);
for (HtmlElement button : form.getElementsByAttribute("input", "class", "secret-update-btn")) {
button.click();
}
((HtmlElement) form.querySelector(".secret-update-btn")).click();

form.getTextAreaByName("_.clientKeySecret").setText("new key");
form.getTextAreaByName("_.clientCertificate").setText("new cert");
Expand Down

0 comments on commit a3cb0a6

Please sign in to comment.