Skip to content

test: unflake tests #770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/async/test_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import re

import pytest
from flaky import flaky

from playwright.async_api import Error, TimeoutError

Expand Down Expand Up @@ -764,7 +763,6 @@ async def test_select_option_should_select_only_first_option(page, server):
assert await page.evaluate("result.onChange") == ["blue"]


@flaky # TODO: https://github.com/microsoft/playwright/issues/6725
async def test_select_option_should_not_throw_when_select_causes_navigation(
page, server
):
Expand Down
2 changes: 0 additions & 2 deletions tests/async/test_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import asyncio

import pytest
from flaky import flaky

from playwright.async_api import Error

Expand Down Expand Up @@ -112,7 +111,6 @@ def on_web_socket(ws):
assert received == ["incoming", b"\x04\x02"]


@flaky
async def test_should_reject_wait_for_event_on_close_and_error(page, ws_server):
async with page.expect_event("websocket") as ws_info:
await page.evaluate(
Expand Down