Skip to content

Commit

Permalink
1) Unignoring tests that are implemented in HtmlUnit 2.20
Browse files Browse the repository at this point in the history
2) Explicitly ignoring HTML5 tests in HtmlUnit because it defines itself as FF38 now.
  • Loading branch information
barancev committed Mar 2, 2016
1 parent eeecc29 commit d450727
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions java/client/test/org/openqa/selenium/ElementFindingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.openqa.selenium.testing.JUnit4TestBase;
import org.openqa.selenium.testing.JavascriptEnabled;
import org.openqa.selenium.testing.NeedsFreshDriver;
import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.SwitchToTopAfterTest;
import org.openqa.selenium.testing.TestUtilities;

Expand All @@ -34,7 +33,6 @@
import static org.junit.Assert.fail;
import static org.junit.Assume.assumeFalse;
import static org.openqa.selenium.testing.Driver.CHROME;
import static org.openqa.selenium.testing.Driver.HTMLUNIT;
import static org.openqa.selenium.testing.Driver.IE;
import static org.openqa.selenium.testing.Driver.MARIONETTE;
import static org.openqa.selenium.testing.Driver.REMOTE;
Expand Down Expand Up @@ -399,7 +397,6 @@ public void testFindingALinkByXpathUsingContainsKeywordShouldWork() {
}

@Ignore({IE, MARIONETTE, SAFARI})
@NotYetImplemented(HTMLUNIT)
@Test
public void testShouldBeAbleToFindElementByXPathWithNamespace() {
driver.get(pages.svgPage);
Expand Down
3 changes: 0 additions & 3 deletions java/client/test/org/openqa/selenium/FormHandlingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import org.junit.Test;
import org.openqa.selenium.testing.Ignore;
import org.openqa.selenium.testing.JUnit4TestBase;
import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.TestUtilities;

import java.io.File;
Expand Down Expand Up @@ -296,15 +295,13 @@ public void testCanClickOnAnImplicitSubmitButton() {

@Ignore(value = {IE, SAFARI},
reason = "IE: failed; Others: untested")
@NotYetImplemented(HTMLUNIT)
@Test
public void testCanClickOnAnExternalSubmitButton() {
checkSubmitButton("external_explicit_submit");
}

@Ignore(value = {IE, SAFARI},
reason = "IE: failed; Others: untested")
@NotYetImplemented(HTMLUNIT)
@Test
public void testCanClickOnAnExternalImplicitSubmitButton() {
checkSubmitButton("external_implicit_submit");
Expand Down
1 change: 0 additions & 1 deletion java/client/test/org/openqa/selenium/TextHandlingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ public void testShouldReturnEmptyStringWhenTagIsSelfClosing() {
assertThat(text, equalTo(""));
}

@NotYetImplemented(HTMLUNIT)
@Test
public void testShouldNotTrimSpacesWhenLineWraps() {
driver.get(pages.simpleTestPage);
Expand Down
1 change: 0 additions & 1 deletion java/client/test/org/openqa/selenium/VisibilityTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ public void tooSmallAWindowWithOverflowHiddenIsNotAProblem() {

@Test
@Ignore(IE)
@NotYetImplemented(HTMLUNIT)
public void shouldShowElementNotVisibleWithHiddenAttribute() {
String url = appServer.whereIs("hidden.html");
driver.get(url);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_LOCATION_CONTEXT;
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_SQL_DATABASE;
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_WEB_STORAGE;
import static org.openqa.selenium.testing.Driver.HTMLUNIT;
import static org.openqa.selenium.testing.Driver.IE;
import static org.openqa.selenium.testing.Driver.MARIONETTE;
import static org.openqa.selenium.testing.Driver.SAFARI;
Expand All @@ -42,7 +43,7 @@
import org.openqa.selenium.testing.TestUtilities;
import org.openqa.selenium.testing.drivers.WebDriverBuilder;

@Ignore({IE, SAFARI, MARIONETTE})
@Ignore({HTMLUNIT, IE, SAFARI, MARIONETTE})
public class Html5CapabilitiesTest extends JUnit4TestBase {

private WebDriver localDriver;
Expand Down
Binary file not shown.

0 comments on commit d450727

Please sign in to comment.