[Webkit-unassigned] [Bug 188118] [GTK] Many WebDriver tests are failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 27 12:57:54 PDT 2018


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

--- Comment #5 from Michael Catanzaro <mcatanzaro at igalia.com> ---
WebDriverTests/imported/w3c/webdriver/tests/close_window/close.py::test_no_browsing_context PASSED
WebDriverTests/imported/w3c/webdriver/tests/close_window/close.py::test_close_browsing_context PASSED
WebDriverTests/imported/w3c/webdriver/tests/close_window/close.py::test_close_last_browsing_context PASSEDIgnored exception session not created (500): Failed to connect to browser: Failed to execute child process “/usr/local/libexec/webkit2gtk-4.0/MiniBrowser” (No such file or directory)

Ignored exception session not created (500): Failed to connect to browser: Failed to execute child process “/usr/local/libexec/webkit2gtk-4.0/MiniBrowser” (No such file or directory)

Ignored exception session not created (500): Failed to connect to browser: Failed to execute child process “/usr/local/libexec/webkit2gtk-4.0/MiniBrowser” (No such file or directory)

Ignored exception session not created (500): Failed to connect to browser: Failed to execute child process “/usr/local/libexec/webkit2gtk-4.0/MiniBrowser” (No such file or directory)


WebDriverTests/imported/w3c/webdriver/tests/close_window/close.py::test_close_last_browsing_context ERROR

==================================== ERRORS ====================================
____________ ERROR at teardown of test_close_last_browsing_context _____________

>   request.addfinalizer(lambda: _switch_to_top_level_browsing_context(_current_session))


WebDriverTests/imported/w3c/webdriver/tests/support/fixtures.py:166: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
WebDriverTests/imported/w3c/webdriver/tests/support/fixtures.py:21: in inner
    return f(*args, **kwargs)
WebDriverTests/imported/w3c/webdriver/tests/support/fixtures.py:85: in _switch_to_top_level_browsing_context
    session.switch_frame(None)
WebDriverTests/imported/w3c/tools/webdriver/webdriver/client.py:535: in switch_frame
    return self.send_session_command("POST", url, body)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <Session (disconnected)>, method = 'POST', uri = 'frame'
body = {'id': None}

    def send_session_command(self, method, uri, body=None):
        """
            Send a command to an established session and validate its success.

            :param method: HTTP method to use in request.
            :param url: "Command part" of the HTTP request URL,
                e.g. `window/rect`.
            :param body: Optional body of the HTTP request.  Must be JSON
                serialisable.

            :return: `None` if the HTTP response body was empty, otherwise
                the result of parsing the body as JSON.

            :raises error.SessionNotCreatedException: If there is no active
                session.
            :raises error.WebDriverException: If the remote end returns
                an error.
            """
        if self.session_id is None:
>           raise error.SessionNotCreatedException()
E           TypeError: __init__() takes at least 2 arguments (1 given)

body       = {'id': None}
method     = 'POST'
self       = <Session (disconnected)>
uri        = 'frame'

-- 
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/20180727/2469791c/attachment-0001.html>


More information about the webkit-unassigned mailing list