Skip to content

Commit

Permalink
[JENKINS-37473] htmlunit method removed
Browse files Browse the repository at this point in the history
  • Loading branch information
escoem committed Aug 17, 2016
1 parent a141295 commit 35ea6d6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -51,7 +51,7 @@ public void testPlugin() throws Exception {
// Now access the views for changelog-history display
WebClient wc = new WebClient();
HtmlPage page = wc.goTo("job/test-job/6/");
HtmlAnchor link = page.getFirstAnchorByText("Change Log History");
HtmlAnchor link = page.getAnchorByText("Change Log History");
assertNotNull("changelog-history link", link);
page = (HtmlPage)link.click();
String mainContent = page.getElementById("main-panel").asText();
Expand All @@ -71,7 +71,7 @@ public void testPlugin() throws Exception {

// Verify "More change log history" link on Recent Changes page
page = wc.goTo("job/test-job/changes");
link = page.getFirstAnchorByText("More change log history");
link = page.getAnchorByText("More change log history");
assertNotNull("'More change log history' link should be present on changes page", link);
}
}

0 comments on commit 35ea6d6

Please sign in to comment.