sleep a bit before checking again

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-29 16:02:30 +02:00
parent ad159d9a3f
commit ef779294bf

View File

@ -99,6 +99,7 @@ class TestOpenIDConformance(SeleniumTestCase):
uploaded_image += 1 uploaded_image += 1
if test_info["status"] in ["INTERRUPTED", "FINISHED"]: if test_info["status"] in ["INTERRUPTED", "FINISHED"]:
return return
sleep(0.1)
def get_screenshot(self): def get_screenshot(self):
"""Get a screenshot, but resize the window first so we don't exceed 500kb""" """Get a screenshot, but resize the window first so we don't exceed 500kb"""