Skip to content

[py] Remove Exclusion of Chromium from Network BiDi tests #15964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Draft
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