File tree Expand file tree Collapse file tree
java/test/org/openqa/selenium Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121import static java .nio .charset .StandardCharsets .US_ASCII ;
2222import static java .nio .charset .StandardCharsets .UTF_8 ;
2323import static org .assertj .core .api .Assertions .assertThat ;
24+ import static org .assertj .core .api .Assumptions .assumeThat ;
2425import static org .openqa .selenium .build .InProject .locate ;
2526import static org .openqa .selenium .remote .CapabilityType .PROXY ;
2627import static org .openqa .selenium .support .ui .ExpectedConditions .presenceOfElementLocated ;
@@ -93,6 +94,11 @@ class ReferrerTest {
9394 private TestServer server2 ;
9495 private ProxyServer proxyServer ;
9596
97+ @ BeforeAll
98+ public static void shouldTestBeRunAtAll () {
99+ assumeThat (Boolean .getBoolean ("selenium.skiptest" )).isFalse ();
100+ }
101+
96102 @ BeforeAll
97103 public static void readContents () throws IOException {
98104 page1 = new String (Files .readAllBytes (locate ("common/src/web/proxy" + PAGE_1 )));
You can’t perform that action at this time.
0 commit comments