forked from mrlan/EnglishPal
fix
parent
a42e63dc27
commit
35a6f1c828
Binary file not shown.
Binary file not shown.
|
@ -9,5 +9,5 @@ def URL():
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def driver():
|
def driver():
|
||||||
my_driver = webdriver.Edge() # uncomment this line if you wish to run the test on your laptop
|
my_driver = webdriver.Chrome()
|
||||||
return my_driver
|
return my_driver
|
||||||
|
|
|
@ -8,11 +8,9 @@ from selenium.webdriver.support.ui import WebDriverWait
|
||||||
from selenium.webdriver.support import expected_conditions as EC
|
from selenium.webdriver.support import expected_conditions as EC
|
||||||
from selenium.common.exceptions import UnexpectedAlertPresentException, NoAlertPresentException, NoSuchElementException, \
|
from selenium.common.exceptions import UnexpectedAlertPresentException, NoAlertPresentException, NoSuchElementException, \
|
||||||
TimeoutException
|
TimeoutException
|
||||||
from conftest import driver
|
|
||||||
from conftest import URL
|
from conftest import URL
|
||||||
|
driver = webdriver.Chrome()
|
||||||
def test_bug555():
|
def test_bug555():
|
||||||
driver = webdriver.Edge()
|
|
||||||
try:
|
try:
|
||||||
driver.maximize_window()
|
driver.maximize_window()
|
||||||
base_url = "http://127.0.0.1:5000"
|
base_url = "http://127.0.0.1:5000"
|
||||||
|
|
Loading…
Reference in New Issue