We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ffcd9 commit 933fbe3Copy full SHA for 933fbe3
src/test/java/hudson/plugins/throttleconcurrents/ThrottleJobPropertyTest.java
@@ -427,7 +427,7 @@ public void clearConfiguredCategories() throws Exception {
427
WebClientUtil.waitForJSExec(page.getWebClient());
428
HtmlForm config = page.getFormByName("config");
429
List<HtmlButton> deleteButtons =
430
- config.getByXPath("//div[text()='Multi-Project Throttle Categories']/../div//button[@title='Delete']");
+ config.getByXPath("//div[text()='Multi-Project Throttle Categories']/../div//button[@title='Delete' or normalize-space(string(.)) = 'Delete']");
431
assertEquals(1, deleteButtons.size());
432
deleteButtons.get(0).click();
433
0 commit comments