Skip to content

Commit

Permalink
Making recently added Firefox-specific tests to run in local environm…
Browse files Browse the repository at this point in the history
…ent only
  • Loading branch information
barancev committed Jul 3, 2014
1 parent 0971ee6 commit 00f9afe
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@
import org.openqa.selenium.firefox.FirefoxBinary;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.internal.SocketLock;
import org.openqa.selenium.testing.NeedsLocalEnvironment;

public class NewProfileExtensionConnectionTest {

@Test
@NeedsLocalEnvironment
public void canBeConstructed() throws Exception {
new NewProfileExtensionConnection
(makeLock(), new FirefoxBinary(), new FirefoxProfile(), "my-host");
}

@Test
@NeedsLocalEnvironment
public void shouldDefaultToPortSpecifiedInProfileWhenDeterminingNextFreePort() throws Exception {
int expectedPort = 2400;

Expand Down

0 comments on commit 00f9afe

Please sign in to comment.