e2e: save screenshots with timestamp instead of class name

This commit is contained in:
Jens Langhammer
2020-06-21 18:44:08 +02:00
parent 887163c45c
commit ed4daa64fe
3 changed files with 4 additions and 3 deletions

View File

@ -219,7 +219,7 @@ class TestProviderOIDC(SeleniumTestCase):
self.driver.find_element(By.CSS_SELECTOR, "[type=submit]").click()
self.wait.until(
ec.presence_of_element_located(By.XPATH, "//a[contains(@href, '/profile')]")
ec.presence_of_element_located((By.XPATH, "//a[contains(@href, '/profile')]"))
)
self.driver.find_element(By.XPATH, "//a[contains(@href, '/profile')]").click()
self.assertEqual(