From 8705b3555ad9f6268190ef383ad00bb80ffc907f Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 21 Nov 2023 21:25:27 +0100 Subject: [PATCH] chore(roll): roll Playwright to 1.40.0-beta-1700587209000 (#2171) --- playwright/_impl/_assertions.py | 5 ++++- playwright/async_api/_generated.py | 6 +++++- playwright/sync_api/_generated.py | 6 +++++- setup.py | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/playwright/_impl/_assertions.py b/playwright/_impl/_assertions.py index cd60f1679..d3e3f9e03 100644 --- a/playwright/_impl/_assertions.py +++ b/playwright/_impl/_assertions.py @@ -233,10 +233,13 @@ async def not_to_have_attribute( self, name: str, value: Union[str, Pattern[str]], + ignore_case: bool = None, timeout: float = None, ) -> None: __tracebackhide__ = True - await self._not.to_have_attribute(name, value, timeout=timeout) + await self._not.to_have_attribute( + name, value, ignore_case=ignore_case, timeout=timeout + ) async def to_have_class( self, diff --git a/playwright/async_api/_generated.py b/playwright/async_api/_generated.py index eba7560d2..4f0fae513 100644 --- a/playwright/async_api/_generated.py +++ b/playwright/async_api/_generated.py @@ -19488,6 +19488,7 @@ async def not_to_have_attribute( name: str, value: typing.Union[str, typing.Pattern[str]], *, + ignore_case: typing.Optional[bool] = None, timeout: typing.Optional[float] = None ) -> None: """LocatorAssertions.not_to_have_attribute @@ -19500,6 +19501,9 @@ async def not_to_have_attribute( Attribute name. value : Union[Pattern[str], str] Expected attribute value. + ignore_case : Union[bool, None] + Whether to perform case-insensitive match. `ignoreCase` option takes precedence over the corresponding regular + expression flag if specified. timeout : Union[float, None] Time to retry the assertion for in milliseconds. Defaults to `5000`. """ @@ -19507,7 +19511,7 @@ async def not_to_have_attribute( return mapping.from_maybe_impl( await self._impl_obj.not_to_have_attribute( - name=name, value=value, timeout=timeout + name=name, value=value, ignore_case=ignore_case, timeout=timeout ) ) diff --git a/playwright/sync_api/_generated.py b/playwright/sync_api/_generated.py index 4059a6149..a0c3ead75 100644 --- a/playwright/sync_api/_generated.py +++ b/playwright/sync_api/_generated.py @@ -19652,6 +19652,7 @@ def not_to_have_attribute( name: str, value: typing.Union[str, typing.Pattern[str]], *, + ignore_case: typing.Optional[bool] = None, timeout: typing.Optional[float] = None ) -> None: """LocatorAssertions.not_to_have_attribute @@ -19664,6 +19665,9 @@ def not_to_have_attribute( Attribute name. value : Union[Pattern[str], str] Expected attribute value. + ignore_case : Union[bool, None] + Whether to perform case-insensitive match. `ignoreCase` option takes precedence over the corresponding regular + expression flag if specified. timeout : Union[float, None] Time to retry the assertion for in milliseconds. Defaults to `5000`. """ @@ -19672,7 +19676,7 @@ def not_to_have_attribute( return mapping.from_maybe_impl( self._sync( self._impl_obj.not_to_have_attribute( - name=name, value=value, timeout=timeout + name=name, value=value, ignore_case=ignore_case, timeout=timeout ) ) ) diff --git a/setup.py b/setup.py index 2bd953f32..7e77bf8ae 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ InWheel = None from wheel.bdist_wheel import bdist_wheel as BDistWheelCommand -driver_version = "1.40.0" +driver_version = "1.40.0-beta-1700587209000" def extractall(zip: zipfile.ZipFile, path: str) -> None: