Thanks. I searched but did not find it in the seleniumbase docs. Is there a way to run the pytest repetitively so that it shows each path to solution, waits a few seconds and does it again?
One: That button.one-and-a-half selector is part of the Wordle website:
button.one-and-a-half
<button data-key="↵" class="one-and-a-half">enter</button>
Two: Here's an example SeleniumBase test for repeating tests: test_repeat_tests.py
All necessary updates to the SeleniumBase GitHub repo have been shipped.
I tried installing pytest-repeat and running pytest --count=5 wordle_test.py but that only ran it once.
I'll see if I can use your examples do cause it to repeat.
pytest-repeat is an external plugin that won't work on tests that inherit unittest.TestCase.
pytest-repeat
unittest.TestCase
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks. I searched but did not find it in the seleniumbase docs.
Is there a way to run the pytest repetitively so that it shows each path to solution, waits a few seconds and does it again?
One: That
button.one-and-a-half
selector is part of the Wordle website:Two: Here's an example SeleniumBase test for repeating tests: test_repeat_tests.py
All necessary updates to the SeleniumBase GitHub repo have been shipped.
I tried installing pytest-repeat and running
pytest --count=5 wordle_test.py but that only ran it once.
I'll see if I can use your examples do cause it to repeat.
pytest-repeat
is an external plugin that won't work on tests that inheritunittest.TestCase
.