Skip to content

Commit 00f9afe

Browse files
committed
Making recently added Firefox-specific tests to run in local environment only
1 parent 0971ee6 commit 00f9afe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

java/client/test/org/openqa/selenium/firefox/internal/NewProfileExtensionConnectionTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@
88
import org.openqa.selenium.firefox.FirefoxBinary;
99
import org.openqa.selenium.firefox.FirefoxProfile;
1010
import org.openqa.selenium.internal.SocketLock;
11+
import org.openqa.selenium.testing.NeedsLocalEnvironment;
1112

1213
public class NewProfileExtensionConnectionTest {
1314

1415
@Test
16+
@NeedsLocalEnvironment
1517
public void canBeConstructed() throws Exception {
1618
new NewProfileExtensionConnection
1719
(makeLock(), new FirefoxBinary(), new FirefoxProfile(), "my-host");
1820
}
1921

2022
@Test
23+
@NeedsLocalEnvironment
2124
public void shouldDefaultToPortSpecifiedInProfileWhenDeterminingNextFreePort() throws Exception {
2225
int expectedPort = 2400;
2326

0 commit comments

Comments
 (0)