diff --git a/e2e/test_enroll_2_step.py b/e2e/test_enroll_2_step.py index bda3154c9..143bf1cfc 100644 --- a/e2e/test_enroll_2_step.py +++ b/e2e/test_enroll_2_step.py @@ -3,7 +3,7 @@ from django.contrib.staticfiles.testing import StaticLiveServerTestCase from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.desired_capabilities import DesiredCapabilities -from selenium.webdriver.support import expected_conditions as EC +from selenium.webdriver.support import expected_conditions as ec from selenium.webdriver.support.ui import WebDriverWait from e2e.utils import apply_default_data @@ -101,7 +101,7 @@ class TestEnroll2Step(StaticLiveServerTestCase): self.driver.find_element(By.CSS_SELECTOR, ".pf-c-button").click() self.driver.find_element(By.LINK_TEXT, "foo").click() - self.wait.until(EC.presence_of_element_located((By.ID, "id_username"))) + self.wait.until(ec.presence_of_element_located((By.ID, "id_username"))) self.assertEqual( self.driver.find_element(By.XPATH, "//a[contains(@href, '/-/user/')]").text, "foo",