Skip to content

Commit

Permalink
Attempting to disable local Safari tests to run on remote. Now all te…
Browse files Browse the repository at this point in the history
…st classes are marked with the annotation
  • Loading branch information
barancev committed Nov 3, 2014
1 parent 5038701 commit 6abf922
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions java/client/test/org/openqa/selenium/safari/AlertTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.testing.NeedsLocalEnvironment;

import java.util.concurrent.TimeUnit;

@NeedsLocalEnvironment(reason = "Requires local browser launching environment")
public class AlertTests extends SafariTestBase {

@AfterClass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@

import org.junit.AfterClass;
import org.junit.Test;
import org.openqa.selenium.testing.NeedsLocalEnvironment;

@NeedsLocalEnvironment(reason = "Requires local browser launching environment")
public class CleanSessionTest extends SafariTestBase {

private static final Cookie COOKIE = new Cookie("foo", "bar");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@

import org.junit.AfterClass;
import org.junit.Test;
import org.openqa.selenium.testing.NeedsLocalEnvironment;

import java.io.File;

@NeedsLocalEnvironment(reason = "Requires local browser launching environment")
public class SafariExtensionsTest extends SafariTestBase {

@AfterClass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
import org.openqa.selenium.testing.JUnit4TestBase;

import org.junit.Before;
import org.openqa.selenium.testing.NeedsLocalEnvironment;

@NeedsLocalEnvironment(reason = "Requires local browser launching environment")
public class SafariTestBase extends JUnit4TestBase {

private static WebDriver staticDriver = null;
Expand Down

0 comments on commit 6abf922

Please sign in to comment.