Skip to content

Commit

Permalink
[java] Ignoring failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Dec 9, 2018
1 parent 03baf4d commit dca0be5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/client/test/org/openqa/selenium/ProxySettingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import static org.assertj.core.api.Assertions.assertThat;
import static org.openqa.selenium.remote.CapabilityType.PROXY;
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;

import com.google.common.base.Joiner;
Expand All @@ -39,6 +40,7 @@
import org.openqa.selenium.testing.NeedsLocalEnvironment;
import org.openqa.selenium.testing.NoDriverAfterTest;
import org.openqa.selenium.testing.NoDriverBeforeTest;
import org.openqa.selenium.testing.NotYetImplemented;
import org.seleniumhq.jetty9.server.Handler;
import org.seleniumhq.jetty9.server.Request;
import org.seleniumhq.jetty9.server.Server;
Expand Down Expand Up @@ -139,6 +141,7 @@ public void canConfigureProxyThroughPACFile() {
@NeedsLocalEnvironment
@NoDriverBeforeTest
@NoDriverAfterTest
@NotYetImplemented(CHROME)
public void canUsePACThatOnlyProxiesCertainHosts() {
Server helloServer = createSimpleHttpServer(
"<!DOCTYPE html><title>Hello</title><h3>Hello, world!</h3>");
Expand Down
3 changes: 3 additions & 0 deletions java/client/test/org/openqa/selenium/ReferrerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import static org.openqa.selenium.remote.CapabilityType.PROXY;
import static org.openqa.selenium.support.ui.ExpectedConditions.presenceOfElementLocated;
import static org.openqa.selenium.support.ui.ExpectedConditions.titleIs;
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
import static org.openqa.selenium.testing.drivers.Browser.IE;
import static org.openqa.selenium.testing.drivers.Browser.MARIONETTE;
Expand All @@ -45,6 +46,7 @@
import org.openqa.selenium.testing.Ignore;
import org.openqa.selenium.testing.JUnit4TestBase;
import org.openqa.selenium.testing.NeedsLocalEnvironment;
import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.drivers.WebDriverBuilder;
import org.seleniumhq.jetty9.server.Handler;
import org.seleniumhq.jetty9.server.Request;
Expand Down Expand Up @@ -288,6 +290,7 @@ public void crossDomainHistoryNavigationWhenProxyInterceptsHostRequests() {
@Ignore(MARIONETTE)
@Ignore(value = FIREFOX, travis=true)
@NeedsLocalEnvironment
@NotYetImplemented(CHROME)
public void navigationWhenProxyInterceptsASpecificUrl() {
testServer1.start();
proxyServer.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public void testThrowsIllegalArgumentExceptionWithNoParameters() {
}

@Test
@NotYetImplemented(HTMLUNIT)
public void testThrowsIllegalArgumentExceptionWithNullParameter() {
driver.get(pages.javascriptPage);
assertThatExceptionOfType(IllegalArgumentException.class)
Expand Down

0 comments on commit dca0be5

Please sign in to comment.