@@ -14537,7 +14537,7 @@ class LocatorAssertions(AsyncBase):
1453714537 async def to_contain_text(
1453814538 self,
1453914539 expected: typing.Union[
14540- typing.List[typing.Pattern], typing.List[ str], typing.Pattern, str
14540+ typing.List[typing.Union[typing. Pattern, str] ], typing.Pattern, str
1454114541 ],
1454214542 *,
1454314543 use_inner_text: bool = None,
@@ -14552,7 +14552,7 @@ async def to_contain_text(
1455214552
1455314553 Parameters
1455414554 ----------
14555- expected : Union[List[Pattern], List[ str], Pattern, str]
14555+ expected : Union[List[Union[ Pattern, str] ], Pattern, str]
1455614556 Expected substring or RegExp or a list of those.
1455714557 use_inner_text : Union[bool, NoneType]
1455814558 Whether to use `element.innerText` instead of `element.textContent` when retrieving DOM node text.
@@ -14573,7 +14573,7 @@ async def to_contain_text(
1457314573 async def not_to_contain_text(
1457414574 self,
1457514575 expected: typing.Union[
14576- typing.List[typing.Pattern], typing.List[ str], typing.Pattern, str
14576+ typing.List[typing.Union[typing. Pattern, str] ], typing.Pattern, str
1457714577 ],
1457814578 *,
1457914579 use_inner_text: bool = None,
@@ -14585,7 +14585,7 @@ async def not_to_contain_text(
1458514585
1458614586 Parameters
1458714587 ----------
14588- expected : Union[List[Pattern], List[ str], Pattern, str]
14588+ expected : Union[List[Union[ Pattern, str] ], Pattern, str]
1458914589 Expected substring or RegExp or a list of those.
1459014590 use_inner_text : Union[bool, NoneType]
1459114591 Whether to use `element.innerText` instead of `element.textContent` when retrieving DOM node text.
@@ -14668,7 +14668,7 @@ async def not_to_have_attribute(
1466814668 async def to_have_class(
1466914669 self,
1467014670 expected: typing.Union[
14671- typing.List[typing.Pattern], typing.List[ str], typing.Pattern, str
14671+ typing.List[typing.Union[typing. Pattern, str] ], typing.Pattern, str
1467214672 ],
1467314673 *,
1467414674 timeout: float = None
@@ -14681,7 +14681,7 @@ async def to_have_class(
1468114681
1468214682 Parameters
1468314683 ----------
14684- expected : Union[List[Pattern], List[ str], Pattern, str]
14684+ expected : Union[List[Union[ Pattern, str] ], Pattern, str]
1468514685 Expected class or RegExp or a list of those.
1468614686 timeout : Union[float, NoneType]
1468714687 Time to retry the assertion for.
@@ -14698,7 +14698,7 @@ async def to_have_class(
1469814698 async def not_to_have_class(
1469914699 self,
1470014700 expected: typing.Union[
14701- typing.List[typing.Pattern], typing.List[ str], typing.Pattern, str
14701+ typing.List[typing.Union[typing. Pattern, str] ], typing.Pattern, str
1470214702 ],
1470314703 *,
1470414704 timeout: float = None
@@ -14709,7 +14709,7 @@ async def not_to_have_class(
1470914709
1471014710 Parameters
1471114711 ----------
14712- expected : Union[List[Pattern], List[ str], Pattern, str]
14712+ expected : Union[List[Union[ Pattern, str] ], Pattern, str]
1471314713 Expected class or RegExp or a list of those.
1471414714 timeout : Union[float, NoneType]
1471514715 Time to retry the assertion for.
@@ -14974,7 +14974,7 @@ async def not_to_have_value(
1497414974 async def to_have_text(
1497514975 self,
1497614976 expected: typing.Union[
14977- typing.List[typing.Pattern], typing.List[ str], typing.Pattern, str
14977+ typing.List[typing.Union[typing. Pattern, str] ], typing.Pattern, str
1497814978 ],
1497914979 *,
1498014980 use_inner_text: bool = None,
@@ -14988,7 +14988,7 @@ async def to_have_text(
1498814988
1498914989 Parameters
1499014990 ----------
14991- expected : Union[List[Pattern], List[ str], Pattern, str]
14991+ expected : Union[List[Union[ Pattern, str] ], Pattern, str]
1499214992 Expected substring or RegExp or a list of those.
1499314993 use_inner_text : Union[bool, NoneType]
1499414994 Whether to use `element.innerText` instead of `element.textContent` when retrieving DOM node text.
@@ -15009,7 +15009,7 @@ async def to_have_text(
1500915009 async def not_to_have_text(
1501015010 self,
1501115011 expected: typing.Union[
15012- typing.List[typing.Pattern], typing.List[ str], typing.Pattern, str
15012+ typing.List[typing.Union[typing. Pattern, str] ], typing.Pattern, str
1501315013 ],
1501415014 *,
1501515015 use_inner_text: bool = None,
@@ -15021,7 +15021,7 @@ async def not_to_have_text(
1502115021
1502215022 Parameters
1502315023 ----------
15024- expected : Union[List[Pattern], List[ str], Pattern, str]
15024+ expected : Union[List[Union[ Pattern, str] ], Pattern, str]
1502515025 Expected substring or RegExp or a list of those.
1502615026 use_inner_text : Union[bool, NoneType]
1502715027 Whether to use `element.innerText` instead of `element.textContent` when retrieving DOM node text.
0 commit comments