Skip to content

Commit

Permalink
chore: roll Playwright to 1.19.2 (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Feb 24, 2022
1 parent 1cce06a commit d9c311c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
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

0 comments on commit d9c311c

Please sign in to comment.