[Gecko Bug 1866431] Send full codepoints when creating key events #43722
Community-TC Integration / wpt-chrome-dev-results-without-changes
succeeded
Dec 19, 2023 in 3m 11s
Community-TC (pull_request)
Collect results for all tests affected by a pull request in chrome but without the changes in the PR.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader chrome
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
> assert response.status == errors[error_code]
E assert 500 == 404
E +500
E -404
error_code = 'no such element'
response = <Response status=500 error=<JavascriptErrorException http_status=500>>
webdriver/tests/support/asserts.py:51: AssertionError
FAIL test_no_such_element_from_other_window_handle[open] - AssertionError: assert 'stale element reference' == 'no such element'
session = <Session 609f7dcc956bad506f958b33532b67b5>
inline = <function inline.<locals>.inline at 0x7f46022d11f0>, closed = False
@pytest.mark.parametrize("closed", [False, True], ids=["open", "closed"])
def test_no_such_element_from_other_window_handle(session, inline, closed):
session.url = inline("<div id='parent'><p/>")
element = session.find.css("#parent", all=False)
new_handle = session.new_window()
if closed:
session.window.close()
session.window_handle = new_handle
response = element_send_keys(session, element, "foo")
> assert_error(response, "no such element")
closed = False
element = <WebElement 6A90439941130C99B769A6B838B2EFE6_element_19>
inline = <function inline.<locals>.inline at 0x7f46022d11f0>
new_handle = '1C1C67DB4C4E9388E3FC0A9019A8B618'
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
session = <Session 609f7dcc956bad506f958b33532b67b5>
webdriver/tests/classic/element_send_keys/send_keys.py:86:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
error_code = 'no such element'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
assert response.status == errors[error_code]
assert "value" in response.body
> assert response.body["value"]["error"] == error_code
E AssertionError: assert 'stale element reference' == 'no such element'
E - no such element
E + stale element reference
error_code = 'no such element'
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
webdriver/tests/support/asserts.py:53: AssertionError
FAIL test_no_such_element_from_other_window_handle[closed] - AssertionError: assert 'stale element reference' == 'no such element'
session = <Session 609f7dcc956bad506f958b33532b67b5>
inline = <function inline.<locals>.inline at 0x7f46022a53a0>, closed = True
@pytest.mark.parametrize("closed", [False, True], ids=["open", "closed"])
def test_no_such_element_from_other_window_handle(session, inline, closed):
session.url = inline("<div id='parent'><p/>")
element = session.find.css("#parent", all=False)
new_handle = session.new_window()
if closed:
session.window.close()
session.window_handle = new_handle
response = element_send_keys(session, element, "foo")
> assert_error(response, "no such element")
closed = True
element = <WebElement F0C708E3123D0F76DBF876AFB591CB27_element_3>
inline = <function inline.<locals>.inline at 0x7f46022a53a0>
new_handle = '294A28ED5B3B8CB24DAED97D1ABA26DF'
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
session = <Session 609f7dcc956bad506f958b33532b67b5>
webdriver/tests/classic/element_send_keys/send_keys.py:86:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
error_code = 'no such element'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
assert response.status == errors[error_code]
assert "value" in response.body
> assert response.body["value"]["error"] == error_code
E AssertionError: assert 'stale element reference' == 'no such element'
E - no such element
E + stale element reference
error_code = 'no such element'
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
webdriver/tests/support/asserts.py:53: AssertionError
FAIL test_no_such_element_from_other_frame[open] - AssertionError: assert 'stale element reference' == 'no such element'
session = <Session 609f7dcc956bad506f958b33532b67b5>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7f46022a5430>
closed = False
@pytest.mark.parametrize("closed", [False, True], ids=["open", "closed"])
def test_no_such_element_from_other_frame(session, get_test_page, closed):
session.url = get_test_page(as_frame=True)
frame = session.find.css("iframe", all=False)
session.switch_frame(frame)
element = session.find.css("input#text", all=False)
session.switch_frame("parent")
if closed:
session.execute_script("arguments[0].remove();", args=[frame])
response = element_send_keys(session, element, "foo")
> assert_error(response, "no such element")
closed = False
element = <WebElement 4F5590B89BE5998814434208D4CEFC20_element_5>
frame = <WebElement 32AEBF0F58564E936DE18AA336A8D0AD_element_9>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7f46022a5430>
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
session = <Session 609f7dcc956bad506f958b33532b67b5>
webdriver/tests/classic/element_send_keys/send_keys.py:104:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
error_code = 'no such element'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
assert response.status == errors[error_code]
assert "value" in response.body
> assert response.body["value"]["error"] == error_code
E AssertionError: assert 'stale element reference' == 'no such element'
E - no such element
E + stale element reference
error_code = 'no such element'
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
webdriver/tests/support/asserts.py:53: AssertionError
FAIL test_no_such_element_from_other_frame[closed] - AssertionError: assert 'stale element reference' == 'no such element'
session = <Session 609f7dcc956bad506f958b33532b67b5>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7f46022a5d30>
closed = True
@pytest.mark.parametrize("closed", [False, True], ids=["open", "closed"])
def test_no_such_element_from_other_frame(session, get_test_page, closed):
session.url = get_test_page(as_frame=True)
frame = session.find.css("iframe", all=False)
session.switch_frame(frame)
element = session.find.css("input#text", all=False)
session.switch_frame("parent")
if closed:
session.execute_script("arguments[0].remove();", args=[frame])
response = element_send_keys(session, element, "foo")
> assert_error(response, "no such element")
closed = True
element = <WebElement 0E5466B7F3662384F7922F90D0DE28EB_element_15>
frame = <WebElement 9A74AAC3E621DD9F606E7FDCD6037F4D_element_20>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7f46022a5d30>
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
session = <Session 609f7dcc956bad506f958b33532b67b5>
webdriver/tests/classic/element_send_keys/send_keys.py:104:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
error_code = 'no such element'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
assert response.status == errors[error_code]
assert "value" in response.body
> assert response.body["value"]["error"] == error_code
E AssertionError: assert 'stale element reference' == 'no such element'
E - no such element
E + stale element reference
error_code = 'no such element'
response = <Response status=404 error=<StaleElementReferenceException http_status=404>>
webdriver/tests/support/asserts.py:53: AssertionError
0:29.47 INFO Got 1 unexpected results, with 0 unexpected passes
0:29.47 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:29.64 wptserve INFO Stopped http server on 127.0.0.1:8002
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:8001
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:8444
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:8003
0:29.66 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:9000
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:8446
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:8000
0:29.66 wptserve INFO Stopped http server on 127.0.0.1:8445
0:29.66 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:29.85 wptserve INFO Stopped http server on 127.0.0.1:8443
0:29.88 INFO Removed font: Ahem.ttf
0:29.91 INFO Closing logging queue
0:29.91 INFO queue closed
0:29.91 INFO Tolerating 1 unexpected results
[taskcluster 2023-12-19 08:26:17.409Z] === Task Finished ===
[taskcluster 2023-12-19 08:26:18.260Z] Successful task run with exit code: 0 completed in 137.418 seconds