Skip to content

Commit 9a4587a

Browse files
authored
chore(roll): roll to v1.30 (#1734)
1 parent db99c36 commit 9a4587a

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Playwright is a Python library to automate [Chromium](https://www.chromium.org/H
44

55
| | Linux | macOS | Windows |
66
| :--- | :---: | :---: | :---: |
7-
| Chromium <!-- GEN:chromium-version -->109.0.5414.74<!-- GEN:stop --> ||||
7+
| Chromium <!-- GEN:chromium-version -->110.0.5481.38<!-- GEN:stop --> ||||
88
| WebKit <!-- GEN:webkit-version -->16.4<!-- GEN:stop --> ||||
99
| Firefox <!-- GEN:firefox-version -->108.0.2<!-- GEN:stop --> ||||
1010

scripts/expected_api_mismatch.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ Parameter type mismatch in Accessibility.snapshot(return=): documented as Union[
99

1010
# One vs two arguments in the callback, Python explicitly unions.
1111
Parameter type mismatch in BrowserContext.route(handler=): documented as Callable[[Route, Request], Union[Any, Any]], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any]]
12-
Parameter type mismatch in BrowserContext.unroute(handler=): documented as Union[Callable[[Route, Request], Any], None], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any], None]
12+
Parameter type mismatch in BrowserContext.unroute(handler=): documented as Union[Callable[[Route, Request], Union[Any, Any]], None], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any], None]
1313
Parameter type mismatch in Page.route(handler=): documented as Callable[[Route, Request], Union[Any, Any]], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any]]
14-
Parameter type mismatch in Page.unroute(handler=): documented as Union[Callable[[Route, Request], Any], None], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any], None]
14+
Parameter type mismatch in Page.unroute(handler=): documented as Union[Callable[[Route, Request], Union[Any, Any]], None], code has Union[Callable[[Route, Request], Any], Callable[[Route], Any], None]
1515

1616
# Temporary Fix
1717
Method not implemented: Error.name
1818
Method not implemented: Error.stack
1919
Method not implemented: Error.message
2020
Method not implemented: PlaywrightAssertions.expect
21-
Method not implemented: Locator.viewport_ratio

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
InWheel = None
3131
from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand
3232

33-
driver_version = "1.30.0-alpha-jan-16-2023"
33+
driver_version = "1.30.0-beta-1674276599000"
3434

3535

3636
def extractall(zip: zipfile.ZipFile, path: str) -> None:

tests/async/test_fetch_global.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ async def test_should_support_global_user_agent_option(
7070
async def test_should_support_global_timeout_option(
7171
playwright: Playwright, server: Server
7272
):
73-
request = await playwright.request.new_context(timeout=1)
73+
request = await playwright.request.new_context(timeout=100)
7474
server.set_route("/empty.html", lambda req: None)
75-
with pytest.raises(Error, match="Request timed out after 1ms"):
75+
with pytest.raises(Error, match="Request timed out after 100ms"):
7676
await request.get(server.EMPTY_PAGE)
7777

7878

tests/async/test_page.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ async def test_fill_should_throw_on_unsupported_inputs(page, server):
822822
)
823823
with pytest.raises(Error) as exc_info:
824824
await page.fill("input", "")
825-
assert f'input of type "{type}" cannot be filled' in exc_info.value.message
825+
assert f'Input of type "{type}" cannot be filled' in exc_info.value.message
826826

827827

828828
async def test_fill_should_fill_different_input_types(page, server):

tests/sync/test_fetch_global.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def test_should_support_global_user_agent_option(
6464
def test_should_support_global_timeout_option(
6565
playwright: Playwright, server: Server
6666
) -> None:
67-
request = playwright.request.new_context(timeout=1)
67+
request = playwright.request.new_context(timeout=100)
6868
server.set_route("/empty.html", lambda req: None)
69-
with pytest.raises(Error, match="Request timed out after 1ms"):
69+
with pytest.raises(Error, match="Request timed out after 100ms"):
7070
request.get(server.EMPTY_PAGE)
7171

7272

0 commit comments

Comments
 (0)