[WebDriver BiDi] Update tilt tests #42360
Merged
Community-TC Integration / wpt-firefox-nightly-results
succeeded
Nov 3, 2023 in 29m 4s
Community-TC (pull_request)
Collect results for all tests affected by a pull request in firefox.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox
if isinstance(err, error.InvalidSessionIdException):
# The driver could have already been deleted the session.
self.session_id = None
> raise err
E webdriver.error.UnknownErrorException: unknown error (500): Error: Unimplemented pointerMove for pointerType pen
E
E Remote-end stacktrace:
E
E pointerMove@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1754:11
E performPointerMoveStep@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1127:25
E dispatch/<@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1099:22
E moveOverTime@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1645:13
E dispatch@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1095:12
E dispatch/pendingEvents<@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1976:14
E dispatch@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1975:39
E dispatch/chainEvents<@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1890:27
E dispatch@chrome://remote/content/shared/webdriver/Actions.sys.mjs:1892:7
E performActions@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:503:23
E receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:143:31
body = {'actions': [{'actions': [{'origin': <WebElement a91bc5f3-730f-4c7b-9366-9c96eb8d94a2>,
'type': 'pointerMove',
'x': 0,
'y': 0},
{'altitudeAngle': 0.3,
'azimuthAngle': 0.2419,
'button': 0,
'pressure': 0.36,
'twist': 86,
'type': 'pointerDown'},
{'origin': <WebElement a91bc5f3-730f-4c7b-9366-9c96eb8d94a2>,
'type': 'pointerMove',
'x': 10,
'y': 10},
{'button': 0, 'type': 'pointerUp'},
{'origin': <WebElement a91bc5f3-730f-4c7b-9366-9c96eb8d94a2>,
'type': 'pointerMove',
'x': 80,
'y': 50}],
'id': 'pointer_id',
'parameters': {'pointerType': 'pen'},
'type': 'pointer'}]}
err = <UnknownErrorException http_status=500>
method = 'POST'
response = <Response status=500 error=<UnknownErrorException http_status=500>>
self = <Session 31aa2d75-1477-4057-9463-1c865523d5dc>
timeout = None
url = 'session/31aa2d75-1477-4057-9463-1c865523d5dc/actions'
tools/webdriver/webdriver/client.py:567: UnknownErrorException
/webdriver/tests/classic/perform_actions/pointer_touch.py
FAIL test_touch_pointer_properties_angle_twist - assert 0 == 20
session = <Session 85bc9bd2-77c8-4f73-bd5b-56fda269d4f5>
test_actions_pointer_page = None
touch_chain = <webdriver.client.ActionSequence object at 0x7f157d54a370>
def test_touch_pointer_properties_angle_twist(session, test_actions_pointer_page, touch_chain):
pointerArea = session.find.css("#pointerArea", all=False)
touch_chain.pointer_move(0, 0, origin=pointerArea) \
.pointer_down(width=23, height=31, pressure=0.78, altitude_angle=1.2, azimuth_angle=6, twist=355) \
.pointer_move(10, 10, origin=pointerArea, width=39, height=35, pressure=0.91, altitude_angle=0.5, azimuth_angle=1.8, twist=345) \
.pointer_up() \
.pointer_move(80, 50, origin=pointerArea) \
.perform()
events = get_events(session)
assert len(events) == 7
event_types = [e["type"] for e in events]
assert ["pointerover", "pointerenter", "pointerdown", "pointermove",
"pointerup", "pointerout", "pointerleave"] == event_types
assert events[2]["type"] == "pointerdown"
> assert events[2]["tiltX"] == 20
E assert 0 == 20
E +0
E -20
event_types = ['pointerover',
'pointerenter',
'pointerdown',
'pointermove',
'pointerup',
'pointerout',
'pointerleave']
events = [{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': 0,
'buttons': 1,
'ctrlKey': False,
'height': 31,
'metaKey': False,
'pageX': 58,
'pageY': 93,
'pointerType': 'touch',
'pressure': 0.7799999713897705,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 0,
'type': 'pointerover',
'width': 23},
{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': 0,
'buttons': 1,
'ctrlKey': False,
'height': 31,
'metaKey': False,
'pageX': 58,
'pageY': 93,
'pointerType': 'touch',
'pressure': 0.7799999713897705,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 0,
'type': 'pointerenter',
'width': 23},
{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': 0,
'buttons': 1,
'ctrlKey': False,
'height': 31,
'metaKey': False,
'pageX': 58,
'pageY': 93,
'pointerType': 'touch',
'pressure': 0.7799999713897705,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 355,
'type': 'pointerdown',
'width': 23},
{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': -1,
'buttons': 1,
'ctrlKey': False,
'height': 35,
'metaKey': False,
'pageX': 68,
'pageY': 103,
'pointerType': 'touch',
'pressure': 0.9100000262260436,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 345,
'type': 'pointermove',
'width': 39},
{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': 0,
'buttons': 0,
'ctrlKey': False,
'height': 1,
'metaKey': False,
'pageX': 68,
'pageY': 103,
'pointerType': 'touch',
'pressure': 0,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 0,
'type': 'pointerup',
'width': 1},
{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': 0,
'buttons': 0,
'ctrlKey': False,
'height': 1,
'metaKey': False,
'pageX': 68,
'pageY': 103,
'pointerType': 'touch',
'pressure': 0,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 0,
'type': 'pointerout',
'width': 1},
{'altKey': False,
'altitudeAngle': None,
'azimuthAngle': None,
'button': 0,
'buttons': 0,
'ctrlKey': False,
'height': 1,
'metaKey': False,
'pageX': 68,
'pageY': 103,
'pointerType': 'touch',
'pressure': 0,
'shiftKey': False,
'tangentialPressure': 0,
'target': 'pointerArea',
'tiltX': 0,
'tiltY': 0,
'twist': 0,
'type': 'pointerleave',
'width': 1}]
pointerArea = <WebElement 2b3cf1dc-87ef-47b9-939a-954485564189>
session = <Session 85bc9bd2-77c8-4f73-bd5b-56fda269d4f5>
test_actions_pointer_page = None
touch_chain = <webdriver.client.ActionSequence object at 0x7f157d54a370>
webdriver/tests/classic/perform_actions/pointer_touch.py:118: AssertionError
1:37.61 INFO Got 5 unexpected results, with 0 unexpected passes
1:37.61 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:37.83 wptserve INFO Stopped http server on 127.0.0.1:8002
1:37.83 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:37.83 wptserve INFO Stopped http server on 127.0.0.1:9000
1:37.83 wptserve INFO Stopped http server on 127.0.0.1:8446
1:37.83 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:37.84 wptserve INFO Stopped http server on 127.0.0.1:8003
1:37.84 wptserve INFO Stopped http server on 127.0.0.1:8000
1:37.84 wptserve INFO Stopped http server on 127.0.0.1:8001
1:37.84 wptserve INFO Stopped http server on 127.0.0.1:8444
1:37.84 wptserve INFO Stopped http server on 127.0.0.1:8445
1:38.09 wptserve INFO Stopped http server on 127.0.0.1:8443
1:38.13 INFO Removed font: Ahem.ttf
1:38.15 INFO Closing logging queue
1:38.15 INFO queue closed
1:38.15 INFO Tolerating 5 unexpected results
[taskcluster 2023-11-03 10:08:24.849Z] === Task Finished ===
[taskcluster 2023-11-03 10:08:25.669Z] Successful task run with exit code: 0 completed in 244.017 seconds
Loading