Skip to content

Fix IDE warnings of return when error on soft assert#115

Merged
alvarolaserna merged 1 commit intotestdevlab:masterfrom
MartinsKMickus:suppress-IDE-warnings-on-soft-assert
Jun 19, 2025
Merged

Fix IDE warnings of return when error on soft assert#115
alvarolaserna merged 1 commit intotestdevlab:masterfrom
MartinsKMickus:suppress-IDE-warnings-on-soft-assert

Conversation

@MartinsKMickus
Copy link
Contributor

This fixes warnings generated by IDEs that element actions might return None in case of soft assert and later called with next actions.

This fixes warnings generated by IDEs that element actions might return None in case of soft assert and later called with next actions.
@MartinsKMickus MartinsKMickus changed the title Fix IDE warnings of return when error Fix IDE warnings of return when error on soft assert Jun 19, 2025
@MartinsKMickus
Copy link
Contributor Author

Screenshot 2025-06-19 at 17 16 23

Example code:

some_elem.wait_until_visible().wait_until_contains_attribute("name", font_name).wait_until_contains_attribute("name", font_size)

@alvarolaserna alvarolaserna merged commit 0492211 into testdevlab:master Jun 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants