Skip to content

Commit

Permalink
Upgrade HtmlUnit from 2.x to 3.x (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja-bot authored Jun 5, 2023
1 parent 46c03e8 commit ee34494
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.65</version>
<version>4.66</version>
<relativePath />
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import com.gargoylesoftware.htmlunit.WebClientUtil;
import com.gargoylesoftware.htmlunit.html.HtmlForm;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
import hudson.model.Result;
Expand All @@ -14,6 +11,9 @@
import java.io.File;
import java.util.Arrays;
import java.util.Collections;
import org.htmlunit.WebClientUtil;
import org.htmlunit.html.HtmlForm;
import org.htmlunit.html.HtmlPage;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
Expand Down Expand Up @@ -422,8 +422,8 @@ public void createTextFinderViaWebClient() throws Exception {
WebClientUtil.waitForJSExec(page.getWebClient());

// Configure the Text Finder.
config.getInputByName("_.fileSet").setValueAttribute("file1");
config.getInputByName("_.regexp").setValueAttribute(TestUtils.UNIQUE_TEXT);
config.getInputByName("_.fileSet").setValue("file1");
config.getInputByName("_.regexp").setValue(TestUtils.UNIQUE_TEXT);
config.getSelectByName("_.buildResult").setSelectedAttribute(Result.UNSTABLE.toString(), true);
config.getInputByName("_.alsoCheckConsoleOutput").click();

Expand Down

0 comments on commit ee34494

Please sign in to comment.