Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions py/test/selenium/webdriver/common/bidi_network_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ def callback(request: Request):
assert driver.find_element(By.NAME, "login").is_displayed(), "Request not continued"


@pytest.mark.xfail_chrome
@pytest.mark.xfail_edge
def test_continue_request(driver, pages):
def callback(request: Request):
request.continue_request()
Expand All @@ -80,17 +78,13 @@ def callback(request: Request):
assert driver.find_element(By.NAME, "login").is_displayed(), "Request not continued"


@pytest.mark.xfail_chrome
@pytest.mark.xfail_edge
def test_continue_with_auth(driver):
callback_id = driver.network.add_auth_handler("user", "passwd")
assert callback_id is not None, "Request handler not added"
driver.get("https://httpbin.org/basic-auth/user/passwd")
assert "authenticated" in driver.page_source, "Authorization failed"


@pytest.mark.xfail_chrome
@pytest.mark.xfail_edge
def test_remove_auth_handler(driver):
callback_id = driver.network.add_auth_handler("user", "passwd")
assert callback_id is not None, "Request handler not added"
Expand Down
Loading