I get exactly the same behavior (when webbrowser is open, test fails on second run) with ubuntuuitoolkit.tests.gallery.test_textinput.TextInputTests.test_textfield_standard so it is not related to the specific numbers test. Perhaps there is a problem with OSK focus sending input to the wrong app? And the OSK is not properly closed after the first test run.
I get exactly the same behavior (when webbrowser is open, test fails on second run) with ubuntuuitoolkit .tests. gallery. test_textinput. TextInputTests. test_textfield_ standard so it is not related to the specific numbers test. Perhaps there is a problem with OSK focus sending input to the wrong app? And the OSK is not properly closed after the first test run.