Skip to content

Commit 3af2b9d

Browse files
committed
Fix the htmlunit-driver tests
1 parent bd5e2e9 commit 3af2b9d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

java/client/test/org/openqa/selenium/ElementAttributeTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ public void testShouldReturnValueOfOnClickAttribute() {
321321
}
322322

323323
@Test
324-
@NotYetImplemented(HTMLUNIT)
325324
public void testGetAttributeDoesNotReturnAnObjectForSvgProperties() {
326325
assumeFalse("IE before 9 doesn't support SVG", TestUtilities.isOldIe(driver));
327326

java/client/test/org/openqa/selenium/ElementFindingTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import static org.junit.Assert.fail;
2727
import static org.junit.Assume.assumeFalse;
2828
import static org.openqa.selenium.testing.Driver.CHROME;
29+
import static org.openqa.selenium.testing.Driver.HTMLUNIT;
2930
import static org.openqa.selenium.testing.Driver.IE;
3031
import static org.openqa.selenium.testing.Driver.MARIONETTE;
3132
import static org.openqa.selenium.testing.Driver.REMOTE;
@@ -37,6 +38,7 @@
3738
import org.openqa.selenium.testing.JUnit4TestBase;
3839
import org.openqa.selenium.testing.JavascriptEnabled;
3940
import org.openqa.selenium.testing.NeedsFreshDriver;
41+
import org.openqa.selenium.testing.NotYetImplemented;
4042
import org.openqa.selenium.testing.SwitchToTopAfterTest;
4143
import org.openqa.selenium.testing.TestUtilities;
4244

@@ -399,6 +401,7 @@ public void testShouldBeAbleToFindElementByXPathWithNamespace() {
399401
}
400402

401403
@Ignore({IE, SAFARI, CHROME})
404+
@NotYetImplemented(value = HTMLUNIT, reason = "This used to work in HtmlUnit 2.23")
402405
@Test
403406
public void testShouldBeAbleToFindElementByXPathInXmlDocument() {
404407
driver.get(pages.simpleXmlDocument);

java/client/test/org/openqa/selenium/TextHandlingTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ public void testShouldHandleSiblingBlockLevelElements() {
259259
assertThat(text, is("Some text" + newLine + "Some more text"));
260260
}
261261

262-
@NotYetImplemented(HTMLUNIT)
263262
@Test
264263
public void testShouldHandleNestedBlockLevelElements() {
265264
driver.get(pages.simpleTestPage);

0 commit comments

Comments
 (0)