Skip to content

Commit

Permalink
fix configfileprovider test (#1542)
Browse files Browse the repository at this point in the history
fix configfileprovidertest

adjust xpath to new table layout
  • Loading branch information
mawinter69 committed May 14, 2024
1 parent fed75e3 commit ca3b3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/plugins/ConfigFileProviderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void testConfigFileProviderWithFolders() {
jenkins.visit("configfiles");
runThenHandleDialog(() -> {
driver.findElement(
by.xpath("//td/code['%s']/parent::td/parent::tr/td[1]/a[2]", mvnConfig.id()) // this won't age well
by.xpath("//td[.='%s']/parent::tr/td[2]/a[1]", mvnConfig.id()) // this won't age well
).click();
});

Expand Down

0 comments on commit ca3b3bf

Please sign in to comment.