test: fix get_element_tag_name test to expect lowercase tagname#60167
test: fix get_element_tag_name test to expect lowercase tagname#60167juliandescottes wants to merge 1 commit into
Community-TC (pull_request)
Collect results for all tests affected by a pull request in firefox but without the changes in the PR.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-05-26T09:01:49.645Z
Resolved: 2026-05-26T09:04:50.396Z
Task Execution Time: 3 minutes, 751 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: eGCl995JQU-gKQFV4NKgXg
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz
WPT Command: python3 ./wpt run --channel=nightly --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 --verify-log-full --no-headless --binary=/home/test/build/firefox/firefox firefox
[taskcluster 2026-05-26 09:01:49.747Z] Task ID: eGCl995JQU-gKQFV4NKgXg
[taskcluster 2026-05-26 09:01:49.747Z] Worker ID: 5327713862055161098
[taskcluster 2026-05-26 09:01:49.747Z] Worker Group: us-east1-c
[taskcluster 2026-05-26 09:01:49.747Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-05-26 09:01:49.747Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-05-26 09:01:49.747Z] Worker Version: 46.1.0
[taskcluster 2026-05-26 09:01:49.747Z] Public IP: 35.237.248.185
[taskcluster 2026-05-26 09:01:49.747Z] Hostname: proj-wpt-ci-x3md4r4otked6ewahelbxg
[taskcluster 2026-05-26 09:01:50.831Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/apps-bin-path.sh ']'
+ . /etc/profile.d/apps-bin-path.sh
...(420 lines hidden)...
1:26.11 INFO Webdriver started successfully.
1:26.11 INFO Starting runner
1:26.50 TEST_START: /webdriver/tests/classic/get_element_tag_name/get.py
1:26.95 INFO STDOUT: ============================= test session starts ==============================
1:26.95 INFO STDOUT: platform linux -- Python 3.10.12, pytest-8.2.1, pluggy-unknown -- /usr/bin/python3
1:26.96 INFO STDOUT: rootdir: /home/test/web-platform-tests/webdriver/tests
1:26.96 INFO STDOUT: configfile: pytest.ini
1:26.96 INFO STDOUT: plugins: asyncio-0.19.0
1:26.96 INFO STDOUT: asyncio: mode=strict
1:26.96 INFO STDOUT: collecting ...
1:26.99 INFO STDOUT: collected 11 items
1:26.99 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_top_browsing_context
1:27.00 pid:2054 1779786275448 mozrunner::runner INFO Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "/home/test/build/firefox/firefox" "--marionette" "--profile" "/tmp/tmp4z4cvfa4.mozrunner" "-no-remote"
1:27.00 pid:2054 [2072] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
1:27.68 pid:2054 1779786276134 Marionette INFO Marionette enabled
1:27.81 pid:2054 1779786276261 Marionette INFO Listening on port 44817
1:27.90 pid:2054 Read port: 44817
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
1:32.03 INFO STDOUT: PASSED
1:32.05 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_browsing_context
1:32.39 INFO STDOUT: PASSED
1:32.43 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_such_element_with_invalid_value
1:32.44 INFO STDOUT: PASSED
1:32.46 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_such_element_with_shadow_root
1:32.72 INFO STDOUT: PASSED
1:32.75 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_such_element_from_other_window_handle[open]
1:32.94 INFO STDOUT: PASSED
1:33.11 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_such_element_from_other_window_handle[closed]
1:33.29 INFO STDOUT: PASSED
1:33.31 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_such_element_from_other_frame[open]
1:33.55 INFO STDOUT: PASSED
1:33.57 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_no_such_element_from_other_frame[closed]
1:33.75 INFO STDOUT: PASSED
1:33.78 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_stale_element_reference[top_context]
1:33.86 INFO STDOUT: PASSED
1:33.88 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_stale_element_reference[child_context]
1:34.06 INFO STDOUT: PASSED
1:34.08 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py::test_get_element_tag_name
1:34.24 INFO STDOUT: FAILED
1:34.25 pid:2054 1779786282704 Marionette INFO Stopped listening on port 44817
1:34.70 pid:2054 JavaScript error: resource://gre/modules/PrivateBrowsingUtils.sys.mjs, line 50: TypeError: can't access property "QueryInterface", aWindow.docShell is null
1:34.79 INFO STDOUT: =================================== FAILURES ===================================
1:34.79 INFO STDOUT: __________________________ test_get_element_tag_name ___________________________
1:34.79 INFO STDOUT: session = <Session c7180937-a28b-4a08-9244-3997dbd83bd7>
1:34.79 INFO STDOUT: inline = <function inline.<locals>.inline at 0x7fe99b911d80>
1:34.79 INFO STDOUT: def test_get_element_tag_name(session, inline):
1:34.79 INFO STDOUT: session.url = inline("<input id=foo>")
1:34.79 INFO STDOUT: element = session.find.css("input", all=False)
1:34.79 INFO STDOUT:
1:34.79 INFO STDOUT: result = get_element_tag_name(session, element.id)
1:34.79 INFO STDOUT: > assert_success(result, "INPUT")
1:34.79 INFO STDOUT: element = <WebElement 812552e0-4211-495c-85da-2fe9cca0bf54>
1:34.79 INFO STDOUT: inline = <function inline.<locals>.inline at 0x7fe99b911d80>
1:34.79 INFO STDOUT: result = <Response: status=200 body={"value": "input"}>
1:34.79 INFO STDOUT: session = <Session c7180937-a28b-4a08-9244-3997dbd83bd7>
1:34.79 INFO STDOUT: webdriver/tests/classic/get_element_tag_name/get.py
1:34.79 INFO STDOUT: :95:
1:34.79 INFO STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1:34.79 INFO STDOUT: response = <Response: status=200 body={"value": "input"}>, value = 'INPUT'
1:34.79 INFO STDOUT: def assert_success(response, value=None):
1:34.79 INFO STDOUT: """
1:34.79 INFO STDOUT: Verify that the provided webdriver.Response instance described
1:34.79 INFO STDOUT: a valid success response as defined by `dfn-send-a-response` and
1:34.79 INFO STDOUT: the provided response value.
1:34.79 INFO STDOUT:
1:34.79 INFO STDOUT: :param response: ``webdriver.Response`` instance.
1:34.79 INFO STDOUT: :param value: Expected value of the response body, if any.
1:34.79 INFO STDOUT: """
1:34.79 INFO STDOUT: assert response.status == 200, str(response.error)
1:34.79 INFO STDOUT:
1:34.79 INFO STDOUT: if value is not None:
1:34.79 INFO STDOUT: > assert response.body["value"] == value
1:34.79 INFO STDOUT: E AssertionError
1:34.79 INFO STDOUT: response = <Response: status=200 body={"value": "input"}>
1:34.79 INFO STDOUT: value = 'INPUT'
1:34.79 INFO STDOUT: webdriver/tests/support/classic/asserts.py
1:34.79 INFO STDOUT: :73: AssertionError
1:34.79 INFO STDOUT: =========================== short test summary info ============================
1:34.79 INFO STDOUT: FAILED webdriver/tests/classic/get_element_tag_name/get.py::test_get_element_tag_name - AssertionError
1:34.79 INFO STDOUT: ========================= 1 failed, 10 passed in 7.84s =========================
1:34.80 TEST_END: Test OK. Subtests passed 10/11. Unexpected 1
FAIL test_get_element_tag_name - AssertionError
session = <Session c7180937-a28b-4a08-9244-3997dbd83bd7>
inline = <function inline.<locals>.inline at 0x7fe99b911d80>
def test_get_element_tag_name(session, inline):
session.url = inline("<input id=foo>")
element = session.find.css("input", all=False)
result = get_element_tag_name(session, element.id)
> assert_success(result, "INPUT")
element = <WebElement 812552e0-4211-495c-85da-2fe9cca0bf54>
inline = <function inline.<locals>.inline at 0x7fe99b911d80>
result = <Response: status=200 body={"value": "input"}>
session = <Session c7180937-a28b-4a08-9244-3997dbd83bd7>
webdriver/tests/classic/get_element_tag_name/get.py:95:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response: status=200 body={"value": "input"}>, value = 'INPUT'
def assert_success(response, value=None):
"""
Verify that the provided webdriver.Response instance described
a valid success response as defined by `dfn-send-a-response` and
the provided response value.
:param response: ``webdriver.Response`` instance.
:param value: Expected value of the response body, if any.
"""
assert response.status == 200, str(response.error)
if value is not None:
> assert response.body["value"] == value
E AssertionError
response = <Response: status=200 body={"value": "input"}>
value = 'INPUT'
webdriver/tests/support/classic/asserts.py:73: AssertionError
1:34.80 INFO No more tests
1:34.90 pid:2054 1779786283348 webdriver::server INFO Shutting down
1:34.80 INFO Closing logging queue
1:34.80 INFO queue closed
1:34.92 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 12 checks (11 subtests, 1 tests)
Expected results: 11
Unexpected results: 1
subtest: 1 (1 fail)
Error Summary
-------------
/webdriver/tests/classic/get_element_tag_name/get.py
FAIL test_get_element_tag_name - AssertionError
session = <Session c7180937-a28b-4a08-9244-3997dbd83bd7>
inline = <function inline.<locals>.inline at 0x7fe99b911d80>
def test_get_element_tag_name(session, inline):
session.url = inline("<input id=foo>")
element = session.find.css("input", all=False)
result = get_element_tag_name(session, element.id)
> assert_success(result, "INPUT")
element = <WebElement 812552e0-4211-495c-85da-2fe9cca0bf54>
inline = <function inline.<locals>.inline at 0x7fe99b911d80>
result = <Response: status=200 body={"value": "input"}>
session = <Session c7180937-a28b-4a08-9244-3997dbd83bd7>
webdriver/tests/classic/get_element_tag_name/get.py:95:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response: status=200 body={"value": "input"}>, value = 'INPUT'
def assert_success(response, value=None):
"""
Verify that the provided webdriver.Response instance described
a valid success response as defined by `dfn-send-a-response` and
the provided response value.
:param response: ``webdriver.Response`` instance.
:param value: Expected value of the response body, if any.
"""
assert response.status == 200, str(response.error)
if value is not None:
> assert response.body["value"] == value
E AssertionError
response = <Response: status=200 body={"value": "input"}>
value = 'INPUT'
webdriver/tests/support/classic/asserts.py:73: AssertionError
1:34.92 INFO Got 1 unexpected results, with 0 unexpected passes
1:34.92 wptserve INFO Stopped http server on 127.0.0.1:8000
1:34.92 wptserve INFO Stopped http server on 127.0.0.1:8001
1:34.92 wptserve INFO Stopped http server on 127.0.0.1:8002
1:34.92 wptserve INFO Stopped http server on 127.0.0.1:8003
1:34.92 wptserve INFO Stopped http server on 127.0.0.1:8443
1:34.94 wptserve INFO Stopped http server on 127.0.0.1:8444
1:34.94 wptserve INFO Stopped http server on 127.0.0.1:8445
1:34.94 wptserve INFO Stopped http server on 127.0.0.1:8446
1:34.95 wptserve INFO Stopped http server on 127.0.0.1:9000
1:34.96 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:35.18 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:35.18 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:35.23 INFO Removed font: Ahem.ttf
1:35.26 INFO Closing logging queue
1:35.26 INFO queue closed
1:35.27 INFO Tolerating 1 unexpected results
[taskcluster 2026-05-26 09:04:47.000Z] === Task Finished ===
[taskcluster 2026-05-26 09:04:48.022Z] Successful task run with exit code: 0 completed in 178.277 seconds