Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebDriver BiDi] Update tilt tests #42360

Merged
merged 1 commit into from
Nov 7, 2023

[WebDriver BiDi] Update tilt tests

18ee800
Select commit
Loading
Failed to load commit list.
Merged

[WebDriver BiDi] Update tilt tests #42360

[WebDriver BiDi] Update tilt tests
18ee800
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Nov 3, 2023 in 7m 23s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome.

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 base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader chrome


            an error.
        :raises ValueError: If the response body does not contain a
            `value` key.
        """
    
        response = self.transport.send(
            method, url, body,
            encoder=protocol.Encoder, decoder=protocol.Decoder,
            session=self, timeout=timeout)
    
        if response.status != 200:
            err = error.from_response(response)
    
            if isinstance(err, error.InvalidSessionIdException):
                # The driver could have already been deleted the session.
                self.session_id = None
    
>           raise err
E           webdriver.error.NoSuchShadowRootException: no such shadow root (404): no such shadow root
E             (Session info: chrome=120.0.6090.0)
E           
E           Remote-end stacktrace:
E           
E           #0 0x5566e80e95d3 <unknown>
E           #1 0x5566e7da364b <unknown>
E           #2 0x5566e7de6a88 <unknown>
E           #3 0x5566e7e1cbb2 <unknown>
E           #4 0x5566e7de6629 <unknown>
E           #5 0x5566e7e1cfce <unknown>
E           #6 0x5566e7e3b967 <unknown>
E           #7 0x5566e7e1c953 <unknown>
E           #8 0x5566e7de48b4 <unknown>
E           #9 0x5566e7de5cbe <unknown>
E           #10 0x5566e80ae721 <unknown>
E           #11 0x5566e80b2627 <unknown>
E           #12 0x5566e809b145 <unknown>
E           #13 0x5566e80b32af <unknown>
E           #14 0x5566e807ec2f <unknown>
E           #15 0x5566e80d69d8 <unknown>
E           #16 0x5566e80d6ba7 <unknown>
E           #17 0x5566e80e8774 <unknown>
E           #18 0x7f81521d7609 start_thread

body       = None
err        = <NoSuchShadowRootException http_status=404>
method     = 'GET'
response   = <Response status=404 error=<NoSuchShadowRootException http_status=404>>
self       = <Session 7623d22cb620d762a1f04da1a8c9d9a0>
timeout    = None
url        = 'session/7623d22cb620d762a1f04da1a8c9d9a0/element/2BCE73518A6F75C0AFD7BA7208527C9A_element_55/shadow'

tools/webdriver/webdriver/client.py:567: NoSuchShadowRootException
  FAIL test_touch_pointer_properties_angle_twist - assert 0 == 20
session = <Session 7623d22cb620d762a1f04da1a8c9d9a0>
test_actions_pointer_page = None
touch_chain = <webdriver.client.ActionSequence object at 0x7f88d7c0ccd0>

    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': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': 0,
  'buttons': 1,
  'ctrlKey': False,
  'height': 31,
  'metaKey': False,
  'pageX': 58,
  'pageY': 91,
  'pointerType': 'touch',
  'pressure': 0.7799999713897705,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 355,
  'type': 'pointerover',
  'width': 23},
 {'altKey': False,
  'altitudeAngle': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': 0,
  'buttons': 1,
  'ctrlKey': False,
  'height': 31,
  'metaKey': False,
  'pageX': 58,
  'pageY': 91,
  'pointerType': 'touch',
  'pressure': 0.7799999713897705,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 355,
  'type': 'pointerenter',
  'width': 23},
 {'altKey': False,
  'altitudeAngle': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': 0,
  'buttons': 1,
  'ctrlKey': False,
  'height': 31,
  'metaKey': False,
  'pageX': 58,
  'pageY': 91,
  'pointerType': 'touch',
  'pressure': 0.7799999713897705,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 355,
  'type': 'pointerdown',
  'width': 23},
 {'altKey': False,
  'altitudeAngle': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': -1,
  'buttons': 1,
  'ctrlKey': False,
  'height': 35,
  'metaKey': False,
  'pageX': 68,
  'pageY': 101,
  'pointerType': 'touch',
  'pressure': 0.9100000262260437,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 345,
  'type': 'pointermove',
  'width': 39},
 {'altKey': False,
  'altitudeAngle': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': 0,
  'buttons': 0,
  'ctrlKey': False,
  'height': 1,
  'metaKey': False,
  'pageX': 68,
  'pageY': 101,
  'pointerType': 'touch',
  'pressure': 0,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 0,
  'type': 'pointerup',
  'width': 1},
 {'altKey': False,
  'altitudeAngle': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': 0,
  'buttons': 0,
  'ctrlKey': False,
  'height': 1,
  'metaKey': False,
  'pageX': 68,
  'pageY': 101,
  'pointerType': 'touch',
  'pressure': 0,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 0,
  'type': 'pointerout',
  'width': 1},
 {'altKey': False,
  'altitudeAngle': 1.5707963267948966,
  'azimuthAngle': 0,
  'button': 0,
  'buttons': 0,
  'ctrlKey': False,
  'height': 1,
  'metaKey': False,
  'pageX': 68,
  'pageY': 101,
  'pointerType': 'touch',
  'pressure': 0,
  'shiftKey': False,
  'tangentialPressure': 0,
  'target': 'pointerArea',
  'tiltX': 0,
  'tiltY': 0,
  'twist': 0,
  'type': 'pointerleave',
  'width': 1}]
pointerArea = <WebElement 8BDD595B3B16DA9A58AD0374CE59F0BD_element_61>
session    = <Session 7623d22cb620d762a1f04da1a8c9d9a0>
test_actions_pointer_page = None
touch_chain = <webdriver.client.ActionSequence object at 0x7f88d7c0ccd0>

webdriver/tests/classic/perform_actions/pointer_touch.py:118: AssertionError
 3:09.77 INFO Got 3 unexpected results, with 0 unexpected passes
 3:09.77 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 3:09.89 wptserve INFO Stopped http server on 127.0.0.1:8443
 3:10.09 wptserve INFO Stopped http server on 127.0.0.1:8003
 3:10.09 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 3:10.09 wptserve INFO Stopped http server on 127.0.0.1:9000
 3:10.09 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 3:10.09 wptserve INFO Stopped http server on 127.0.0.1:8444
 3:10.09 wptserve INFO Stopped http server on 127.0.0.1:8446
 3:10.10 wptserve INFO Stopped http server on 127.0.0.1:8001
 3:10.10 wptserve INFO Stopped http server on 127.0.0.1:8002
 3:10.10 wptserve INFO Stopped http server on 127.0.0.1:8000
 3:10.11 wptserve INFO Stopped http server on 127.0.0.1:8445
 3:10.19 INFO Removed font: Ahem.ttf
 3:10.22 INFO Closing logging queue
 3:10.22 INFO queue closed
 3:10.22 INFO Tolerating 3 unexpected results
X connection to :99.0 broken (explicit kill or server shutdown).

[taskcluster 2023-11-03 09:46:46.148Z] === Task Finished ===
[taskcluster 2023-11-03 09:46:46.935Z] Successful task run with exit code: 0 completed in 370.659 seconds