Skip to content

Commit

Permalink
adjust expectation regarding latest selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 30, 2023
1 parent bc9ab10 commit 95ef23c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/org/htmlunit/html/HtmlTextInputTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.junit.runner.RunWith;
import org.openqa.selenium.By;
import org.openqa.selenium.InvalidElementStateException;
import org.openqa.selenium.JavascriptException;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
Expand Down Expand Up @@ -676,7 +675,7 @@ public void sendKeysEnterWithoutForm() throws Exception {
/**
* @throws Exception if the test fails
*/
@Test(expected = JavascriptException.class)
@Test(expected = UnsupportedOperationException.class)
public void submitWithoutForm() throws Exception {
final String html =
"<html>\n"
Expand Down

0 comments on commit 95ef23c

Please sign in to comment.