Skip to content

Commit 95ef23c

Browse files
committed
adjust expectation regarding latest selenium
1 parent bc9ab10 commit 95ef23c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/org/htmlunit/html/HtmlTextInputTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.junit.runner.RunWith;
2828
import org.openqa.selenium.By;
2929
import org.openqa.selenium.InvalidElementStateException;
30-
import org.openqa.selenium.JavascriptException;
3130
import org.openqa.selenium.Keys;
3231
import org.openqa.selenium.WebDriver;
3332
import org.openqa.selenium.WebElement;
@@ -676,7 +675,7 @@ public void sendKeysEnterWithoutForm() throws Exception {
676675
/**
677676
* @throws Exception if the test fails
678677
*/
679-
@Test(expected = JavascriptException.class)
678+
@Test(expected = UnsupportedOperationException.class)
680679
public void submitWithoutForm() throws Exception {
681680
final String html =
682681
"<html>\n"

0 commit comments

Comments
 (0)