button.one-and-a-half is another selector for the Enter button. It has that class name because the button is wider than other buttons on that keyboard.
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?
button.one-and-a-half
is another selector for the Enter button. It has that class name because the button is wider than other buttons on that keyboard.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
.