We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff59d11 commit 40206a8Copy full SHA for 40206a8
src/main/java/org/jenkinsci/test/acceptance/po/Job.java
@@ -365,7 +365,7 @@ public <T extends Parameter> T addParameter(Class<T> type) {
365
366
control(by.checkbox("This project is parameterized")).check();
367
368
- control(by.xpath("//button[text()='Add Parameter' and not(contains(@class, 'hetero-list-add-top'))]"))
+ control(by.xpath("//button[normalize-space(string(.)) = 'Add Parameter'] and not(contains(@class, 'hetero-list-add-top'))]"))
369
.selectDropdownMenu(type);
370
371
// TODO selectDropdownMenu should not need this sleep - try and remove it
0 commit comments