[Webkit-unassigned] [Bug 180417] New: WebDriver: test imported/w3c/webdriver/tests/set_window_rect.py::test_height_width fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 04:06:22 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180417

            Bug ID: 180417
           Summary: WebDriver: test
                    imported/w3c/webdriver/tests/set_window_rect.py::test_
                    height_width fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com

response = <Responsetatus=200 body={"value": {"y": 450, "x": 100, "height": 0, "width": 668}}>, value = {'height': 668, 'width': 924, 'x': 100, 'y': 450}

    def assert_success(response, value=None):
        """
        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 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   = <Responsetatus=200 body={"value": {"y": 450, "x": 100, "height": 0, "width": 668}}>
value      = {'height': 668, 'width': 924, 'x': 100, 'y': 450}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171205/2d0cd9e9/attachment-0001.html>


More information about the webkit-unassigned mailing list