Skip to content

Commit 933fbe3

Browse files
authored
Fix test for redesigned reorderable list (#330)
1 parent 34ffcd9 commit 933fbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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']/../div//button[@title='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)