Skip to content

Commit

Permalink
test: skip broken FF nav test
Browse files Browse the repository at this point in the history
  • Loading branch information
rwoll committed Jul 4, 2022
1 parent eb239a8 commit d5cd654
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions tests/async/test_har.py
Expand Up @@ -20,7 +20,6 @@
from pathlib import Path

import pytest
from flaky import flaky

from playwright.async_api import Browser, BrowserContext, Error, Page, Route, expect
from tests.server import Server
Expand Down Expand Up @@ -437,7 +436,9 @@ async def test_should_go_back_to_redirected_navigation(
assert await page.evaluate("window.location.href") == "https://www.theverge.com/"


@flaky(max_runs=5) # Flaky upstream
@pytest.mark.skip_browser(
"firefox"
) # skipped upstream (https://github.com/microsoft/playwright/blob/6a8d835145e2f4002ee00b67a80a1f70af956703/tests/library/browsercontext-har.spec.ts#L214)
async def test_should_go_forward_to_redirected_navigation(
context: BrowserContext, server: Server, assetdir: Path
) -> None:
Expand Down
5 changes: 3 additions & 2 deletions tests/sync/test_har.py
Expand Up @@ -20,7 +20,6 @@
from typing import Any, cast

import pytest
from flaky import flaky

from playwright.sync_api import Browser, BrowserContext, Error, Page, Route, expect
from tests.server import Server
Expand Down Expand Up @@ -374,7 +373,9 @@ def test_should_go_back_to_redirected_navigation(
assert page.evaluate("window.location.href") == "https://www.theverge.com/"


@flaky(max_runs=5) # Flaky upstream
@pytest.mark.skip_browser(
"firefox"
) # skipped upstream (https://github.com/microsoft/playwright/blob/6a8d835145e2f4002ee00b67a80a1f70af956703/tests/library/browsercontext-har.spec.ts#L214)
def test_should_go_forward_to_redirected_navigation(
context: BrowserContext, server: Server, assetdir: Path
) -> None:
Expand Down

0 comments on commit d5cd654

Please sign in to comment.