Skip to content

Commit ff199cd

Browse files
committed
Update ThrottleJobPropertyTest.java
1 parent cce8594 commit ff199cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/hudson/plugins/throttleconcurrents/ThrottleJobPropertyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ public void clearConfiguredCategories() throws Exception {
427427
WebClientUtil.waitForJSExec(page.getWebClient());
428428
HtmlForm config = page.getFormByName("config");
429429
List<HtmlButton> deleteButtons =
430-
config.getByXPath("//div[text()='Multi-Project Throttle Categories']/..//button[@title='Delete' or normalize-space(string(.)) = 'Delete']");
430+
config.getByXPath("//div[text()='Multi-Project Throttle Categories']/../div//button[@title='Delete' or normalize-space(string(.)) = 'Delete']");
431431
assertEquals(1, deleteButtons.size());
432432
deleteButtons.get(0).click();
433433
WebClientUtil.waitForJSExec(page.getWebClient());

0 commit comments

Comments
 (0)