更新 app/test/test_bug551_DingZeYu.py
parent
7fe3feae9a
commit
9f6a007426
|
@ -8,12 +8,11 @@ from selenium.webdriver.support import expected_conditions as EC
|
||||||
from selenium.webdriver.support.wait import WebDriverWait
|
from selenium.webdriver.support.wait import WebDriverWait
|
||||||
from helper import signup
|
from helper import signup
|
||||||
|
|
||||||
def test_bug551():
|
def test_bug551(driver, URL):
|
||||||
driver = webdriver.Edge()
|
|
||||||
driver.maximize_window()
|
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')
|
article = driver.find_element(By.ID, 'article')
|
||||||
actions = ActionChains(driver)
|
actions = ActionChains(driver)
|
||||||
|
|
Loading…
Reference in New Issue