Skip to content

Commit c2fa496

Browse files
committed
xfail chrome proxy tests
1 parent cd53725 commit c2fa496

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/test/selenium/webdriver/common/bidi_browser_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def test_create_user_context_with_direct_proxy(driver):
159159
driver.browser.remove_user_context(user_context)
160160

161161

162+
@pytest.mark.xfail_chrome(reason="Chrome auto upgrades HTTP to HTTPS in untrusted networks like CI environments")
162163
@pytest.mark.xfail_firefox(reason="Firefox proxy settings are different")
163164
@pytest.mark.xfail_remote
164165
def test_create_user_context_with_manual_proxy_all_params(driver):
@@ -199,9 +200,10 @@ def test_create_user_context_with_manual_proxy_all_params(driver):
199200
fake_proxy_server.server_close()
200201

201202

203+
@pytest.mark.xfail_chrome(reason="Chrome auto upgrades HTTP to HTTPS in untrusted networks like CI environments")
202204
@pytest.mark.xfail_firefox(reason="Firefox proxy settings are different")
203205
@pytest.mark.xfail_remote
204-
def test_create_user_context_with_both_params(driver):
206+
def test_create_user_context_with_proxy_and_accept_insecure_certs(driver):
205207
"""Test creating a user context with both acceptInsecureCerts and proxy parameters."""
206208
# Start fake proxy server
207209
port = free_port()

0 commit comments

Comments
 (0)