File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
java/test/org/openqa/selenium Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 21
21
import static java .nio .charset .StandardCharsets .US_ASCII ;
22
22
import static java .nio .charset .StandardCharsets .UTF_8 ;
23
23
import static org .assertj .core .api .Assertions .assertThat ;
24
+ import static org .assertj .core .api .Assumptions .assumeThat ;
24
25
import static org .openqa .selenium .build .InProject .locate ;
25
26
import static org .openqa .selenium .remote .CapabilityType .PROXY ;
26
27
import static org .openqa .selenium .support .ui .ExpectedConditions .presenceOfElementLocated ;
@@ -93,6 +94,11 @@ class ReferrerTest {
93
94
private TestServer server2 ;
94
95
private ProxyServer proxyServer ;
95
96
97
+ @ BeforeAll
98
+ public static void shouldTestBeRunAtAll () {
99
+ assumeThat (Boolean .getBoolean ("selenium.skiptest" )).isFalse ();
100
+ }
101
+
96
102
@ BeforeAll
97
103
public static void readContents () throws IOException {
98
104
page1 = new String (Files .readAllBytes (locate ("common/src/web/proxy" + PAGE_1 )));
You can’t perform that action at this time.
0 commit comments