Skip to content

Commit

Permalink
chore(roll): roll Playwright to 1.40.0-beta-1700587209000 (#2171)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Nov 21, 2023
1 parent d332719 commit 8705b35
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
5 changes: 4 additions & 1 deletion playwright/_impl/_assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 5 additions & 1 deletion playwright/async_api/_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19500,14 +19501,17 @@ 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`.
"""
__tracebackhide__ = True

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
)
)

Expand Down
6 changes: 5 additions & 1 deletion playwright/sync_api/_generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`.
"""
Expand All @@ -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
)
)
)
Expand Down
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.40.0"
driver_version = "1.40.0-beta-1700587209000"


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

0 comments on commit 8705b35

Please sign in to comment.