diff --git a/app/test/test_bug551_DingZeYu.py b/app/test/test_bug551_DingZeYu.py index 9fdb24f..7351dfe 100644 --- a/app/test/test_bug551_DingZeYu.py +++ b/app/test/test_bug551_DingZeYu.py @@ -8,12 +8,11 @@ from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.wait import WebDriverWait from helper import signup -def test_bug551(): - driver = webdriver.Edge() +def test_bug551(driver, URL): driver.maximize_window() - driver.get("http://127.0.0.1:5000/") + driver.get(URL) - username, password = signup("http://127.0.0.1:5000/", driver) + username, password = signup(URL, driver) article = driver.find_element(By.ID, 'article') actions = ActionChains(driver)