diff --git a/app/test/__pycache__/conftest.cpython-312-pytest-8.2.1.pyc b/app/test/__pycache__/conftest.cpython-312-pytest-8.2.1.pyc index 7e9f8ca..21d8cb1 100644 Binary files a/app/test/__pycache__/conftest.cpython-312-pytest-8.2.1.pyc and b/app/test/__pycache__/conftest.cpython-312-pytest-8.2.1.pyc differ diff --git a/app/test/__pycache__/test_bug555_fangchen.cpython-312-pytest-8.2.1.pyc b/app/test/__pycache__/test_bug555_fangchen.cpython-312-pytest-8.2.1.pyc index 3958c61..d402268 100644 Binary files a/app/test/__pycache__/test_bug555_fangchen.cpython-312-pytest-8.2.1.pyc and b/app/test/__pycache__/test_bug555_fangchen.cpython-312-pytest-8.2.1.pyc differ diff --git a/app/test/conftest.py b/app/test/conftest.py index 29f6431..af17368 100644 --- a/app/test/conftest.py +++ b/app/test/conftest.py @@ -9,5 +9,5 @@ def URL(): @pytest.fixture 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 diff --git a/app/test/test_bug555_fangchen.py b/app/test/test_bug555_fangchen.py index f7cee42..d1edfb5 100644 --- a/app/test/test_bug555_fangchen.py +++ b/app/test/test_bug555_fangchen.py @@ -8,11 +8,9 @@ from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import UnexpectedAlertPresentException, NoAlertPresentException, NoSuchElementException, \ TimeoutException -from conftest import driver from conftest import URL - +driver = webdriver.Chrome() def test_bug555(): - driver = webdriver.Edge() try: driver.maximize_window() base_url = "http://127.0.0.1:5000"