Skip to content

[text-spacing-trim] Implement line-end logic

Community-TC Integration / wpt-firefox-beta-wdspec-1 succeeded Jan 15, 2024 in 1h 29m 19s

Community-TC (push)

A subset of WPT's "wdspec" tests (chunk number 1 of 2), run in the beta release of firefox.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=beta --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --no-fail-on-unexpected --this-chunk=1 --total-chunks=2 --test-type=wdspec --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


                           'x': 0,
                           'y': 0},
                          {'altitudeAngle': 0.3,
                           'azimuthAngle': 0.2419,
                           'button': 0,
                           'pressure': 0.36,
                           'twist': 86,
                           'type': 'pointerDown'},
                          {'origin': <WebElement 74489823-c0f2-421b-a374-d544cd49656b>,
                           'type': 'pointerMove',
                           'x': 10,
                           'y': 10},
                          {'button': 0, 'type': 'pointerUp'},
                          {'origin': <WebElement 74489823-c0f2-421b-a374-d544cd49656b>,
                           '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 81da48ef-aa3e-4f9d-a2e5-176c63213286>
timeout    = None
url        = 'session/81da48ef-aa3e-4f9d-a2e5-176c63213286/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 4a28d228-8688-47ae-a0c6-05344174d780>
test_actions_pointer_page = None
touch_chain = <webdriver.client.ActionSequence object at 0x7fcae3db1730>

    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 5137af96-4512-41dc-a43c-ee979629585a>
session    = <Session 4a28d228-8688-47ae-a0c6-05344174d780>
test_actions_pointer_page = None
touch_chain = <webdriver.client.ActionSequence object at 0x7fcae3db1730>

webdriver/tests/classic/perform_actions/pointer_touch.py:116: AssertionError
/webdriver/tests/classic/set_window_rect/set.py
  FAIL test_restore_from_maximized - assert False
session = <Session 2a2a75f2-259c-45b8-826b-dc46976256e6>

    def test_restore_from_maximized(session):
        assert not is_maximized(session)
    
        original = session.window.rect
        target_rect = {
            "x": original["x"],
            "y": original["y"],
            "width": original["width"] + 50,
            "height": original["height"] + 50
        }
    
        session.window.maximize()
>       assert is_maximized(session)
E       assert False
E        +  where False = is_maximized(<Session 2a2a75f2-259c-45b8-826b-dc46976256e6>)

original   = {'height': 600, 'width': 800, 'x': 100, 'y': 100}
session    = <Session 2a2a75f2-259c-45b8-826b-dc46976256e6>
target_rect = {'height': 650, 'width': 850, 'x': 100, 'y': 100}

webdriver/tests/classic/set_window_rect/set.py:149: AssertionError
22:25.19 INFO Got 41 unexpected results, with 0 unexpected passes
22:25.20 wptserve INFO Stopped http server on 127.0.0.1:8003
22:25.20 wptserve INFO Stopped http server on 127.0.0.1:9000
22:25.20 wptserve INFO Stopped http server on 127.0.0.1:8445
22:25.21 wptserve INFO Stopped http server on 127.0.0.1:8002
22:25.21 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
22:25.21 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
22:25.24 wptserve INFO Stopped http server on 127.0.0.1:8444
22:25.24 wptserve INFO Stopped http server on 127.0.0.1:8001
22:25.25 wptserve INFO Stopped http server on 127.0.0.1:8446
22:25.34 wptserve INFO Stopped http server on 127.0.0.1:8443
22:25.66 wptserve INFO Stopped http server on 127.0.0.1:8000
22:25.70 INFO Removed font: Ahem.ttf
22:25.72 INFO Closing logging queue
22:25.72 INFO queue closed
22:25.72 INFO Tolerating 41 unexpected results
[taskcluster 2024-01-15 03:07:56.805Z] === Task Finished ===
[taskcluster 2024-01-15 03:07:57.481Z] Successful task run with exit code: 0 completed in 1485.669 seconds