-
![]() In this way, login fixture cannot obtain |
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
Apr 15, 2024
Replies: 1 comment
-
See #745 (comment) That's the main reason why the Most pytest fixtures have an incompatibility with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #745 (comment)
That's the main reason why the
sb
fixture was created. (Example: SeleniumBase/examples/test_sb_fixture.py)Most pytest fixtures have an incompatibility with
unittest.TestCase
, which SeleniumBase'sBaseCase
inherits. Use one of thesb
pytest
fixture formats from SeleniumBase/help_docs/syntax_formats.md. It allows you to use other pytest fixtures in your tests.