Skip to content

chore: roll Playwright to 1.19.2 #1172

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 2 commits into from
Feb 24, 2022
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: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
InWheel = None
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand

driver_version = "1.19.0"
driver_version = "1.19.2"


def extractall(zip: zipfile.ZipFile, path: str) -> None:
Expand Down
4 changes: 1 addition & 3 deletions tests/async/test_fetch_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ async def test_should_work(playwright: Playwright, method: str, server: Server):
"name": "Content-Type",
"value": "application/json",
} in response.headers_array
assert await response.text() == (
"" if method in ["head", "put"] else '{"foo": "bar"}\n'
)
assert await response.text() == ("" if method == "head" else '{"foo": "bar"}\n')


async def test_should_dispose_global_request(playwright: Playwright, server: Server):
Expand Down
2 changes: 1 addition & 1 deletion tests/sync/test_fetch_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_should_work(playwright: Playwright, method: str, server: Server) -> Non
"name": "Content-Type",
"value": "application/json",
} in response.headers_array
assert response.text() == ("" if method in ["head", "put"] else '{"foo": "bar"}\n')
assert response.text() == ("" if method == "head" else '{"foo": "bar"}\n')


def test_should_dispose_global_request(playwright: Playwright, server: Server) -> None:
Expand Down