We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fb59ae commit b5b2154Copy full SHA for b5b2154
1 file changed
src/main/java/org/jenkinsci/test/acceptance/po/Job.java
@@ -365,7 +365,8 @@ 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']")).selectDropdownMenu(type);
+ control(by.xpath("//button[text()='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
372
elasticSleep(500);
0 commit comments