From 4bfa9d1c1f2c1e73938d63820928bf8753f84f4f Mon Sep 17 00:00:00 2001 From: Anton Engelhardt <a.e@wwu.de> Date: Thu, 22 Feb 2024 16:50:55 +0100 Subject: [PATCH] Change test.py --- integration-tests/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/test.py b/integration-tests/test.py index 6b1fc517..02b5da2f 100644 --- a/integration-tests/test.py +++ b/integration-tests/test.py @@ -75,8 +75,8 @@ def test_success() -> None: # print body - assert driver.get_page_source() == "Bound to fail but debug the body" - assert driver.current_url() == "https://httpbin.org" + # assert driver.get_page_source() == "Bound to fail but debug the body" + # assert driver.current_url() == "https://httpbin.org" assert driver.title == "httpbin.org" assert driver.get_cookie("oidcSession-0") is not None tear_down() @@ -98,7 +98,7 @@ def test_modified_cookie() -> None: set_up() login(driver) - driver.manage().deleteAllCookies() + driver.deleteAllCookies() driver.get(BASE_URL) assert driver.title != "httpbin.org" tear_down()