Adjust for experimental Manage Jenkins UI#2756
Conversation
|
Before screenshots would be great to add to make easier for comparison |
| </l:hasAdministerOrManage> | ||
| </f:form> | ||
| <j:jelly xmlns:j="jelly:core" xmlns:l="/lib/layout" xmlns:f="/lib/form" xmlns:i="jelly:fmt" xmlns:t="/lib/hudson"> | ||
| <l:settings-subpage permissions="${app.MANAGE_AND_SYSTEM_READ}" header="${null}"> |
There was a problem hiding this comment.
why pass header=null? you can just pass your own header through with a j:set ?
There was a problem hiding this comment.
The dialog wasn't working in the <l:notice /> with a null header, so I moved it inside the subpage.
I'd be surprised if there's much test coverage around this page... |
|
I've tested locally and it looks great. |
| <f:form method="post" action="replace" name="replace"> | ||
| <input type="hidden" name="${h.getCrumbRequestField()}" value="${h.getCrumb(request2)}"/> | ||
| <f:entry title="${%Path or URL}" field="newSource" class="jenkins-form-item--small"> | ||
| <f:textbox checkUrl="checkNewSource" checkDependsOn="newSource"/> |
There was a problem hiding this comment.
@janfaracik most likely the cause of the ATH failure -
https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/1872/testReport/junit/plugins/ConfigurationAsCodeTest/latest_linux_jdk25_firefox_split7___loadAndReload/
org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/newSource'] in http://mvn:35985/configuration-as-code/
at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:206)
at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:58)
at org.jenkinsci.test.acceptance.po.Control.set(Control.java:162)
at org.jenkinsci.test.acceptance.plugins.configuration_as_code.JcascManage.configure(JcascManage.java:46)
at plugins.ConfigurationAsCodeTest.loadAndReload(ConfigurationAsCodeTest.java:46)
There was a problem hiding this comment.
Still rough, tests will definitely be broken:
Would be good to get thoughts.
Your checklist for this pull request
🚨 Please review the guidelines for contributing to this repository.