-
I run pytest like this: I think there should be two windows running at the same time, but I can only see one window appear. and by the way, I want to log in at the first site and then use the same --rs command to synchronize the login information for all subsequent sites. I know to use: I asked chatGPT and it suggested that I can use:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ellieot, does your Are you trying to run the same test multiple times? Parameterize them first. See the example: https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_repeat_tests.py Ordering with |
Beta Was this translation helpful? Give feedback.
Since your test class inherits
BaseCase
, you must use@parameterized.expand([[]] * 2)
instead of@pytest.mark.parametrize("", [[]] * 2)
Example: