Skip to content

Commit

Permalink
Avoiding running tests for changed referrer header behaviour on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Apr 13, 2021
1 parent 960ed53 commit 5d108f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions java/client/test/org/openqa/selenium/ReferrerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ public void basicHistoryNavigationWithoutAProxy() {
*/
@Test
@NeedsLocalEnvironment
@Ignore(value = CHROME,
reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = CHROME, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = FIREFOX, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
public void crossDomainHistoryNavigationWithoutAProxy() {
String page1Url = server1.whereIs(PAGE_1) + "?next=" + encode(server2.whereIs(PAGE_2));
String page2Url = server2.whereIs(PAGE_2) + "?next=" + encode(server1.whereIs(PAGE_3));
Expand Down Expand Up @@ -200,8 +200,8 @@ public void basicHistoryNavigationWithADirectProxy() {
*/
@Test
@NeedsLocalEnvironment
@Ignore(value = CHROME,
reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = CHROME, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = FIREFOX, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
public void crossDomainHistoryNavigationWithADirectProxy() {
proxyServer.setPacFileContents("function FindProxyForURL(url, host) { return 'DIRECT'; }");
WebDriver driver = createDriver(proxyServer.whereIs("/pac.js"));
Expand All @@ -225,8 +225,8 @@ public void crossDomainHistoryNavigationWithADirectProxy() {
*/
@Test
@NeedsLocalEnvironment
@Ignore(value = CHROME,
reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = CHROME, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = FIREFOX, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
public void crossDomainHistoryNavigationWithAProxiedHost() {
proxyServer.setPacFileContents(Joiner.on('\n').join(
"function FindProxyForURL(url, host) {",
Expand Down Expand Up @@ -257,8 +257,8 @@ public void crossDomainHistoryNavigationWithAProxiedHost() {
*/
@Test
@NeedsLocalEnvironment
@Ignore(value = CHROME,
reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = CHROME, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
@Ignore(value = FIREFOX, reason = "https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default")
public void crossDomainHistoryNavigationWhenProxyInterceptsHostRequests() {
proxyServer.setPacFileContents(Joiner.on('\n').join(
"function FindProxyForURL(url, host) {",
Expand Down

0 comments on commit 5d108f9

Please sign in to comment.