Skip to content
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

chore(roll): roll Playwright to 1.40.0-beta-1700587209000 #2171

Merged
merged 1 commit into from
Nov 21, 2023
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
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
Loading